XdsObjects Help file
XdsObjects Namespace / XdsRegistryResponse Class / XdsRegistryResponse Constructor / XdsRegistryResponse Constructor(Exception,XdsErrorCode)
The exception to use to initialise a new XdsError
The XDS specific error code to use.



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

    Parameters

    e
    The exception to use to initialise a new XdsError
    ErrorCode
    The XDS specific error code to use.
    Remarks
    A new XdsError is created, using the provided exception and error code, 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