NestedException Class
NOTE: This member is now obsolete. Use other exception type instead.
<Obsolete("Use other exception type instead.")> _
Public Class NestedException
Inherits Exception
This language is not supported or no code example is available.
[Obsolete("Use other exception type instead.")]
public class NestedException : Exception
This language is not supported or no code example is available.
[<Obsolete("Use other exception type instead.")>]
type NestedException = class
inherit Exception
end
This language is not supported or no code example is available.
[Obsolete("Use other exception type instead.")]
public ref class NestedException : public Exception^
This language is not supported or no code example is available.
| Name | Description | |
|---|---|---|
|
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (inherited from Exception). |
|
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (inherited from Exception). |
|
HelpLink | Gets or sets a link to the help file associated with this exception. (inherited from Exception). |
|
InnerException | Gets the Exception instance that caused the current exception. (inherited from Exception). |
|
Message | Gets a message that describes the current exception. (inherited from Exception). |
|
Source | Gets or sets the name of the application or the object that causes the error. (inherited from Exception). |
|
StackTrace | Gets a string representation of the immediate frames on the call stack. (inherited from Exception). |
|
TargetSite | Gets the method that throws the current exception. (inherited from Exception). |
| Name | Description | |
|---|---|---|
|
GetBaseException() | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception). |
|
GetObjectData(SerializationInfo, StreamingContext) | When overridden in a derived class, sets the SerializationInfo with information about the exception. (inherited from Exception). |
|
GetType() | Gets the runtime type of the current instance. (inherited from Exception). |
|
ToString() | Creates and returns a string representation of the current exception. (inherited from Exception). |
This is also an example of a nested class and ObsoleteAttribute.