This documentation is archived and is not being maintained.

Exception Properties

The properties of the Exception class are listed here. For a complete list of Exception class members, see the Exception Members topic.

Public Properties

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

Supported by the .NET Compact Framework.

Gets the Exception instance that caused the current exception.
public propertyMessage

Supported by the .NET Compact Framework.

Gets a message that describes the current exception.
public propertySource Gets or sets the name of the application or the object that causes the error.
public propertyStackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public propertyTargetSite Gets the method that throws the current exception.

Protected Properties

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

See Also

Exception Class | System Namespace