Skip to main content

UnableToOpenDatabaseException(String, Exception) Constructor

Initializes a new instance of the UnableToOpenDatabaseException class with the specified settings.

Namespace: DevExpress.Xpo.DB.Exceptions

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public UnableToOpenDatabaseException(
    string connectionString,
    Exception innerException
)

Parameters

Name Type Description
connectionString String

A connection string that is used to connect to the database.

innerException Exception

An Exception object that represents the inner error.

See Also