This documentation is archived and is not being maintained.
.NET Framework 3.0
Represents errors that occur during application execution.
The following tables list the members exposed by the Exception type.
(see also Protected Properties )
|Data||Gets a collection of key/value pairs that provide additional user-defined information about the exception.|
|HelpLink||Gets or sets a link to the help file associated with this exception.|
|InnerException||Gets the Exception instance that caused the current exception.|
|Message||Gets a message that describes the current exception.|
|Source||Gets or sets the name of the application or the object that causes the error.|
|StackTrace||Gets a string representation of the frames on the call stack at the time the current exception was thrown.|
|TargetSite||Gets the method that throws the current exception.|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetBaseException||When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetObjectData||When overridden in a derived class, sets the SerializationInfo with information about the exception.|
|GetType||Gets the runtime type of the current instance.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToString||Overridden. Creates and returns a string representation of the current exception.|