The DocumentError type exposes the following members.

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