XmlException Constructor (XmlException.XmlExceptionErrorCode)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the XmlException class with a specified error code.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Syntax
'Declaration
Public Sub New ( _
errorCode As XmlException.XmlExceptionErrorCode _
)
public XmlException(
XmlException.XmlExceptionErrorCode errorCode
)
public:
XmlException(
XmlException::XmlExceptionErrorCode errorCode
)
new :
errorCode:XmlException.XmlExceptionErrorCode -> XmlException
public function XmlException(
errorCode : XmlException..::..XmlExceptionErrorCode
)
Parameters
- errorCode
Type: System.Xml. . :: . .XmlException. . :: . .XmlExceptionErrorCode
The error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.