Exception overview
Public Constructors
Exception Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the Exception class. |
Public Properties
Public Methods
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetBaseException Supported by the .NET Compact Framework. | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
ToString Supported by the .NET Compact Framework. | Overridden. Creates and returns a string representation of the current exception. |
Protected Constructors
Protected Properties
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
See Also
Exception Class | System Namespace