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



XdsRegistryResponse Constructor(XdsErrorCode,String,String)
Create a registry response given an IHE XDS XdsObjects.Enums.XdsErrorCode, 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 XdsRegistryResponse(ErrorCode, Location, CodeContext)
public XdsRegistryResponse( 
   XdsErrorCode ErrorCode,
   string Location,
   string CodeContext
)
public:
XdsRegistryResponse( 
   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