10 private object sourceNodeObject;
34 base.GetObjectData(info, context);
54 : base(message, innerException, 0, 0)
64 : base(message, innerException, lineNumber, linePosition)
69 : base(res, args, null, null, 0, 0, null)
74 : base(res, new string[1]
77 },
null,
null, 0, 0,
null)
82 : base(res, new string[1]
85 },
null, sourceUri, lineNumber, linePosition,
null)
90 : base(res, null, null, sourceUri, lineNumber, linePosition, null)
95 : base(res, args, null, sourceUri, lineNumber, linePosition, null)
100 : base(res, args, innerException, sourceUri, lineNumber, linePosition, null)
105 : base(res, args, null, null, 0, 0, null)
107 sourceNodeObject = sourceNode;
111 : base(res, args, null, sourceUri, 0, 0, null)
113 sourceNodeObject = sourceNode;
116 internal XmlSchemaValidationException(
string res,
string[] args,
string sourceUri,
int lineNumber,
int linePosition, XmlSchemaObject source,
object sourceNode)
117 : base(res, args, null, sourceUri, lineNumber, linePosition, source)
119 sourceNodeObject = sourceNode;
126 sourceNodeObject = sourceObject;
XmlSchemaValidationException()
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaValidationException class.
Describes a set of security permissions applied to code. This class cannot be inherited.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
SecurityAction
Specifies the security actions that can be performed using declarative security.
internal void SetSourceObject(object sourceObject)
Sets the XML node that causes the error.
override void GetObjectData(SerializationInfo info, StreamingContext context)
Constructs a new T:System.Xml.Schema.XmlSchemaValidationException object with the given T:System....
XmlSchemaValidationException(string message, Exception innerException)
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaValidationException class with the exc...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
object SourceObject
Gets the XML node that caused this T:System.Xml.Schema.XmlSchemaValidationException.
Exception()
Initializes a new instance of the T:System.Exception class.
XmlSchemaValidationException(string message)
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaValidationException class with the exc...
XmlSchemaValidationException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaValidationException class with the T:S...
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Specifies that the class can be serialized.
XmlSchemaValidationException(string message, Exception innerException, int lineNumber, int linePosition)
Initializes a new instance of the T:System.Xml.Schema.XmlSchemaValidationException class with the exc...
Returns detailed information about the schema exception.
Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors an...