Windows apps
Collapse the table of content
Expand the table of content
Information
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.

XmlSchemaException Constructor (String^, Exception^, Int32, Int32)

 

Initializes a new instance of the XmlSchemaException class with the exception message specified, and the original Exception object, line number, and line position of the XML that cause this exception specified.

Namespace:   System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public:
XmlSchemaException(
	String^ message,
	Exception^ innerException,
	int lineNumber,
	int linePosition
)

Parameters

message
Type: System::String^

A string description of the error condition.

innerException
Type: System::Exception^

The original T:System.Exception object that caused this exception.

lineNumber
Type: System::Int32

The line number of the XML that caused this exception.

linePosition
Type: System::Int32

The line position of the XML that caused this exception.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft