Share via


DatabaseProviderException members

An exception class specific to the IDatabaseProvider interface.

The DatabaseProviderException type exposes the following members.

Constructors

  Name Description
Public method DatabaseProviderException() Initializes a new instance of the DatabaseProviderException class.
Public method DatabaseProviderException(String) Initializes a new instance of the DatabaseProviderException with the specified error message.
Public method DatabaseProviderException(DatabaseProviderError) Initializes a new instance of the DatabaseProviderException class with the specified error.
Protected method DatabaseProviderException(SerializationInfo, StreamingContext) Initializes a new instance of the DatabaseProviderException class with serialized data.
Public method DatabaseProviderException(String, Exception) Initializes a new instance of the DatabaseProviderException with the specified error message.
Public method DatabaseProviderException(String, DatabaseProviderError, String) Initializes a new instance of the DatabaseProviderException with extended error information

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property Error The Error associated with this DatabaseProvider exception
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property OriginalStackTrace The original stack trace associated with this DatabaseProvider exception
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo with information about the DatabaseProviderException. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

See also

Reference

DatabaseProviderException class

Microsoft.SharePoint.Administration.DatabaseProvider namespace