System.Xml.Schema.XmlSchemaException Members

The members of System.Xml.Schema.XmlSchemaException are listed below.

See Also: Inherited members from System.SystemException

Public Constructors

Initializes a new instance of the System.Xml.Schema.XmlSchemaException class.

Initializes a new instance of the System.Xml.Schema.XmlSchemaException class with the exception message specified.

Initializes a new instance of the System.Xml.Schema.XmlSchemaException class with the exception message and original Exception object that caused this exception specified.

Initializes a new instance of the System.Xml.Schema.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.

Protected Constructors

Constructs a new XmlSchemaException object with the given SerializationInfo and StreamingContext information that contains all the properties of the XmlSchemaException.

Public Properties

[read-only]
LineNumberint.

Gets the line number indicating where the error occurred.

[read-only]
LinePositionint.

Gets the line position indicating where the error occurred.

[read-only]
override
Messagestring.

Gets the description of the error condition of this exception.

[read-only]
SourceSchemaObjectXmlSchemaObject.

The XmlSchemaObject that produced the XmlSchemaException.

[read-only]
SourceUristring.

Gets the Uniform Resource Identifier (URI) location of the schema that caused the exception.

Public Methods

override
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Streams all the XmlSchemaException properties into the SerializationInfo class for the given StreamingContext.