System.Data.Common.DbException Class

The base class for all exceptions thrown on behalf of the data source.

See Also: DbException Members


public abstract class DbException : System.Runtime.InteropServices.ExternalException


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

For general information about handling exceptions for a .NET Framework data provider, see System.Data.SqlClient.SqlException.


Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions:
Since: .NET 2.0