The DocumentException type exposes the following members.

Constructors

  NameDescription
Public methodDocumentException()()()()
Initializes a new instance of the DocumentException class.
Public methodDocumentException(String)
Initializes a new instance of the DocumentException class with a specified error message.
Public methodDocumentException(String, Exception)
Initializes a new instance of the DocumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Properties

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Events

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)

See Also