XdsObjects Help file
XdsObjects Namespace / XdsRegistryResponse Class / XdsRegistryResponse Constructor / XdsRegistryResponse Constructor(XdsErrorCode,String)
The XDS specific error code to use.
The CodeContext for the new error



In This Topic
    XdsRegistryResponse Constructor(XdsErrorCode,String)
    In This Topic
    Create a registry response given an IHE XDS XdsObjects.Enums.XdsErrorCode, plus Location and CodeContext
    Syntax
    Public Function New( _
       ByVal ErrorCode As XdsErrorCode, _
       ByVal CodeContext As String _
    )
    Dim ErrorCode As XdsErrorCode
    Dim CodeContext As String
     
    Dim instance As New XdsRegistryResponse(ErrorCode, CodeContext)
    public XdsRegistryResponse( 
       XdsErrorCode ErrorCode,
       string CodeContext
    )
    public:
    XdsRegistryResponse( 
       XdsErrorCode ErrorCode,
       String^ CodeContext
    )

    Parameters

    ErrorCode
    The XDS specific error code to use.
    CodeContext
    The CodeContext for the new error
    Remarks
    A new XdsError is created, using the provided values, and is added into the Errors collection. The Status value is set to XdsObjects.Enums.RegistryResponseStatus.Failure
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also