This documentation is archived and is not being maintained.
.NET Framework 2.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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.|