Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​Schema.​XmlSchemaException

Assembly: System.Xml.ReaderWriter

Inheritance: object → ExceptionSystemException → XmlSchemaException

Implemented Interfaces

Returns detailed information about the schema exception.

Properties

public int
LineNumber
Gets the line number indicating where the error occurred.
public int
LinePosition
Gets the line position indicating where the error occurred.
public string
Message
Gets the description of the error condition of this exception.
SourceSchemaObject
The <see langword="XmlSchemaObject" /> that produced the <see langword="XmlSchemaException" /> .
public string
SourceUri
Gets the Uniform Resource Identifier (URI) location of the schema that caused the exception.
public string
HelpLink
public int
HResult
public Exception
InnerException
public string
Source
public string
StackTrace
TargetSite

Methods

public void
GetObjectData​(Runtime.​Serialization.​SerializationInfo info, Runtime.​Serialization.​StreamingContext context)
Streams all the <see langword="XmlSchemaException" /> properties into the <see langword="SerializationInfo" /> class for the given <see langword="StreamingContext" /> .
info The <see langword="SerializationInfo" /> .
context The <see langword="StreamingContext" /> information.
public Exception
GetBaseException​()
Inherited from Exception
public Type
GetType​()
Inherited from Exception
public string
ToString​()
Inherited from Exception
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object