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.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public DatabaseConnectionException(
    string message,
    Exception innerException
)

Parameters

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