Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DbException Constructor

DbException Constructor

Initializes a new instance of the DbException class.

The DbException class is an abstract class used as the base class for provider-specific exception class implementations.

Name Description
DbException () Initializes a new instance of the DbException class.
DbException (String) Initializes a new instance of the DbException class with the specified error message.
DbException (SerializationInfo, StreamingContext) Initializes a new instance of the DbException class with the specified serialization information and context.
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.

Community Additions

ADD
Show:
© 2015 Microsoft