XdsObjects Help file
XdsObjects Namespace / XdsErrorItem Class / XdsErrorItem Constructor / XdsErrorItem Constructor(Exception,XdsErrorCode)
Exception to use as source of data
XDS specific error code



XdsErrorItem Constructor(Exception,XdsErrorCode)
Create a new XdsErrorItem from a System.Exception object and an XdsObjects.Enums.XdsErrorCode value
Syntax
Public Function New( _
   ByVal Exception As Exception, _
   ByVal ErrorCode As XdsErrorCode _
)
Dim Exception As Exception
Dim ErrorCode As XdsErrorCode
 
Dim instance As New XdsErrorItem(Exception, ErrorCode)
public XdsErrorItem( 
   Exception Exception,
   XdsErrorCode ErrorCode
)
public:
XdsErrorItem( 
   Exception^ Exception,
   XdsErrorCode ErrorCode
)

Parameters

Exception
Exception to use as source of data
ErrorCode
XDS specific error code
Remarks

The CodeContext is set to the value of System.Exception.Message

The Location is set to the value of System.Exception.StackTrace

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