System.Exception: Property Members

The properties of System.Exception are listed below. For a list of all members, see the Exception Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
DataIDictionary.

Gets a collection of key/value pairs that provide additional user-defined information about the exception.

HelpLinkstring.

Gets or sets a link to the help file associated with this exception.

HResultint.

Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

[read-only]
InnerExceptionException.

Gets the Exception instance that caused the current exception.

[read-only]
Messagestring.

Gets a message that describes the current exception.

Sourcestring.

Gets or sets the name of the application or the object that causes the error.

[read-only]
StackTracestring.

Gets a string representation of the immediate frames on the call stack.

[read-only]
TargetSiteSystem.Reflection.MethodBase.

Gets the method that throws the current exception.