DatabaseException(String, Int32, System.Exception) Constructor

The DatabaseException constructor initializes a new instance of the DatabaseException class based on the specified message, error number, and underlying exception.

Parameters

message The description of the exception.

number The error number associated with the exception.

innerException The underlying exception that caused the DatabaseException exception to be thrown.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security