Constructors
- Exception() Initializes a new instance of the Exception class.
-
Exception(Serialization
Info, Initializes a new instance of the Exception class with serialized data.Streaming Context) - Exception(String) Initializes a new instance of the Exception class with a specified error message.
-
Exception(String,
Exception) Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Methods
-
Get
Base When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.Exception() -
Get
Object When overridden in a derived class, sets the SerializationInfo with information about the exception.Data(Serialization Info, Streaming Context) -
Get
Type() Gets the runtime type of the current instance. -
To
String() Creates and returns a string representation of the current exception.
Properties
- Data Gets a collection of key/value pairs that provide additional user-defined information about the exception.
- HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
-
Help
Link Gets or sets a link to the help file associated with this exception. -
IPFor
Watson Buckets -
Inner
Exception Gets the Exception instance that caused the current exception. -
Is
Transient - Message Gets a message that describes the current exception.
-
Remote
Stack Trace - Source Gets or sets the name of the application or the object that causes the error.
-
Stack
Trace Gets a string representation of the immediate frames on the call stack. -
Target
Site Gets the method that throws the current exception. -
Watson
Buckets
Events
-
Serialize
Object Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.State