Skip to main content

DatabaseConnectionException(String, Exception) Constructor

Initializes a new instance of the DatabaseConnectionException class with the specified message and exception details.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.1.dll

NuGet Package: DevExpress.DataAccess


public DatabaseConnectionException(
    string message,
    Exception innerException


Name Type Description
message String

A String value, specifying the message displayed when a database connection fails.

innerException Exception

A Exception object, specifying the error details.

See Also