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: