System.Data.Common.DbException Class

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

See Also: DbException Members

Syntax

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

Remarks

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.

Requirements

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