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



XdsRetrieveResponse Constructor(XdsErrorCode,String,String)
Create a retrieve 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 XdsRetrieveResponse(ErrorCode, Location, CodeContext)
public XdsRetrieveResponse( 
   XdsErrorCode ErrorCode,
   string Location,
   string CodeContext
)
public:
XdsRetrieveResponse( 
   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