XmlException Constructor (String, Exception, Int32, Int32)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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)
'Declaration Public Sub New ( _ message As String, _ innerException As Exception, _ lineNumber As Integer, _ linePosition As Integer _ )
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 Nothing.
- lineNumber
- Type: System.Int32
The line number indicating where the error occurred.
- linePosition
- Type: System.Int32
The line position indicating where the error occurred.
Show: