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



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