Share via


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

.NET Framework Security

See Also

Reference

XmlException Class

XmlException Overload

System.Xml Namespace