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.v22.2.dll

NuGet Package: DevExpress.Data


public UnableToOpenDatabaseException(
    string connectionString,
    Exception innerException


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