Skip to main content

DatabaseConnectionException(String, Exception) Constructor

In This Article

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#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