DbException Constructor
Initializes a new instance of the DbException class.
Assembly: System.Data (in System.Data.dll)
| Name | Description | |
|---|---|---|
![]() | DbException() | Initializes a new instance of the DbException class. |
![]() | DbException(SerializationInfo^, StreamingContext) | Initializes a new instance of the DbException class with the specified serialization information and context. |
![]() | DbException(String^) | Initializes a new instance of the DbException class with the specified error message. |
![]() | DbException(String^, Exception^) | Initializes a new instance of the DbException class with the specified error message and a reference to the inner exception that is the cause of this exception. |
![]() | DbException(String^, Int32) | Initializes a new instance of the DbException class with the specified error message and error code. |
The DbException class is an abstract class used as the base class for provider-specific exception class implementations.
