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



In This Topic
    XdsQueryResponse Constructor(XdsErrorCode,String,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 Location As String, _
       ByVal CodeContext As String _
    )
    Dim ErrorCode As XdsErrorCode
    Dim Location As String
    Dim CodeContext As String
     
    Dim instance As New XdsQueryResponse(ErrorCode, Location, CodeContext)
    public XdsQueryResponse( 
       XdsErrorCode ErrorCode,
       string Location,
       string CodeContext
    )
    public:
    XdsQueryResponse( 
       XdsErrorCode ErrorCode,
       String^ Location,
       String^ CodeContext
    )

    Parameters

    ErrorCode
    The XDS specific error code to use.
    Location
    The Location for the new error
    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