XmlSchemaException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

NameDescription
System_CAPS_pubmethodXmlSchemaException()

Initializes a new instance of the XmlSchemaException class.

System_CAPS_protmethodXmlSchemaException(SerializationInfo, StreamingContext)

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

System_CAPS_pubmethodXmlSchemaException(String)

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

System_CAPS_pubmethodXmlSchemaException(String, Exception)

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

System_CAPS_pubmethodXmlSchemaException(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.

Return to top
Show: