System.Data 1.0.5000.0 2.0.0.0 System.Data.Common.DbException

This class is created whenever the encounters an error generated by the server (Client-side errors are raised as standard common language runtime exceptions.). It always contains at least one instance of .

If the severity of the error is too great, the server may close the . However, the user can reopen the connection and continue.

For general information about handling exceptions for a .NET Framework data provider, see .

The exception that is generated when a warning or error is returned by an ODBC data source. This class cannot be inherited.

- Property
  System.Data.Odbc.OdbcErrorCollection To be added.

  This property is a wrapper for the .

  Gets a collection of one or more objects that give detailed information about exceptions generated by the .NET Framework Data Provider for ODBC.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void `` ``

  sets a with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the transmitted over the stream.

  This member overrides .

  The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. 1.0.5000.0 2.0.0.0
- Property
  System.String To be added. To be added. To be added. 1.0.5000.0 2.0.0.0
- Property
  System.String To be added.

  This is a wrapper for the property of the first in the collection.

  Gets the name of the ODBC driver that generated the error.

  1.0.5000.0
  2.0.0.0