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.​XmlSchemaInferenceException

Assembly: System.Xml.ReaderWriter

Inheritance: object → ExceptionSystemExceptionXmlSchemaException → XmlSchemaInferenceException

Implemented Interfaces

Returns information about errors encountered by the <see cref="T:System.Xml.Schema.XmlSchemaInference" /> class while inferring a schema from an XML document.

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 cref="T:System.Xml.Schema.XmlSchemaInferenceException" /> object properties into the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object specified for the <see cref="T:System.Runtime.Serialization.StreamingContext" /> object specified.
info A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object.
context A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object.
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