The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlException Constructor (String^, Exception^, Int32, Int32)
.NET Framework (current version)
Initializes a new instance of the XmlException class with the specified message, inner exception, line number, and line position.
Assembly: System.Xml (in System.Xml.dll)
public: XmlException( String^ message, Exception^ innerException, int lineNumber, int linePosition )
Parameters
- message
-
Type:
System::String^
The error description.
- innerException
-
Type:
System::Exception^
The exception that is the cause of the current exception. This value can be null.
- lineNumber
-
Type:
System::Int32
The line number indicating where the error occurred.
- linePosition
-
Type:
System::Int32
The line position indicating where the error occurred.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: