This documentation is archived and is not being maintained.

Exception Constructor

Initializes a new instance of the Exception class.

Name Description
Exception () Initializes a new instance of the Exception class.

Supported by the .NET Compact Framework.

Exception (String) Initializes a new instance of the Exception class with a specified error message.

Supported by the .NET Compact Framework.

Exception (SerializationInfo, StreamingContext) Initializes a new instance of the Exception class with serialized data.
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.

Supported by the .NET Compact Framework.

Show: