XmlException Constructor (String, Exception, Int32, Int32)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Xml
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft