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



In This Topic
    XdsQueryResponse Constructor(Exception,XdsErrorCode)
    In This Topic
    Create a query 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 XdsQueryResponse(e, ErrorCode)
    public XdsQueryResponse( 
       Exception e,
       XdsErrorCode ErrorCode
    )
    public:
    XdsQueryResponse( 
       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