Exception Members

The following tables list the members exposed by the Exception type.

Public Constructors

Name Description
Public Method Exception Overloaded. Initializes a new instance of the Exception class.

Protected Fields

Name Description
Protected Field m_HResult Contains a coded numeric value that is assigned to a specific exception.

Public Properties

Name Description
Public Property InnerException Gets the Exception instance that caused the current exception.
Public Property Message Gets a message that describes the current exception.
Public Property StackTrace Gets a string representation of the frames on the call stack at the time when the current exception was thrown.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Creates and returns a string representation of the current exception.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Exception Class
System Namespace