The DocumentError type exposes the following members.

Constructors

  NameDescription
DocumentError
Initializes a new instance of the DocumentError class with default settings.

Methods

  NameDescription
Clone
Creates a new object that is a copy of the current instance.
(Inherited from SerializableBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Data
Gets or sets a copy of the data in error.
DataSpecified
Include the Data property when serializing the class or generating the document.
ErrorCode
Gets or sets the error code that indicates the type of error that occured.
ErrorCodeSpecified
Include the ErrorCode property when serializing the class or generating the document.
ErrorDescription
Gets or sets the error description that describes the nature of the error.
ErrorDescriptionSpecified
Include the ErrorDescription property when serializing the class or generating the document.
LocationDescription
Gets or sets additional information about the location of the error.
LocationDescriptionSpecified
Include the LocationDescription property when serializing the class or generating the document.
Offset
Gets or sets offset from starting position zero of the location within a document where the error occurred.
OffsetSpecified
Include the Offset property when serializing the class or generating the document.
OffsetUnitCode
Gets or sets the unit type for the Offset property.
OffsetUnitCodeSpecified
Include the OffsetUnitCode property when serializing the class or generating the document.
XPath
Gets or sets the XML Path Language (XPath) location of where the error occurred.
XPathSpecified
Include the XPath property when serializing the class or generating the document.

See Also