Exception Members
.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 Constructors
)
Top
| Name | Description | |
|---|---|---|
| Exception | Overloaded. Initializes a new instance of the Exception class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| 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
)
Top
| Name | Description | |
|---|---|---|
| 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. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |