Export (0) Print
Expand All

Exception Members

Exception overview

Public Constructors

public constructorException Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the Exception class.

Public Properties

public propertyHelpLink Gets or sets a link to the help file associated with this exception.
public propertyInnerException

Supported by the .NET Compact Framework.

Gets the Exception instance that caused the current exception.
public propertyMessage

Supported by the .NET Compact Framework.

Gets a message that describes the current exception.
public propertySource Gets or sets the name of the application or the object that causes the error.
public propertyStackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown.
public propertyTargetSite Gets the method that throws the current exception.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetBaseException

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.
public methodGetHashCode (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.
public methodGetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Creates and returns a string representation of the current exception.

Protected Constructors

protected constructorException Constructor Overloaded. Initializes a new instance of the Exception class.

Protected Properties

protected propertyHResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Exception Class | System Namespace

Show:
© 2015 Microsoft