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
[read-only] | Data | IDictionary.
Gets a collection of key/value pairs that provide additional user-defined information about the exception. |
HelpLink | string.
Gets or sets a link to the help file associated with this exception. | |
HResult | int.
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. | |
[read-only] | InnerException | Exception.
Gets the Exception instance that caused the current exception. |
[read-only] | Message | string.
Gets a message that describes the current exception. |
Source | string.
Gets or sets the name of the application or the object that causes the error. | |
[read-only] | StackTrace | string.
Gets a string representation of the immediate frames on the call stack. |
[read-only] | TargetSite | System.Reflection.MethodBase.
Gets the method that throws the current exception. |