Skip to main content

ConnectionErrorEventArgs(String, DataConnectionParametersBase, Exception) Constructor

Initializes a new instance of the ConnectionErrorEventArgs class.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess


public ConnectionErrorEventArgs(
    string connectionName,
    DataConnectionParametersBase connectionParameters,
    Exception exception


Name Type Description
connectionName String

A String that specifies the name of the connection for which the event has been raised. This value is assigned to the ConfigureDataConnectionEventArgs.ConnectionName property.

connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase descendant that contains connection parameters. This object is assigned to the ConfigureDataConnectionEventArgs.ConnectionParameters property.

exception Exception

A Exception object representing the exception that caused the event.


Instances of the ConnectionErrorEventArgs class are automatically created, initialized and passed to the corresponding event handlers. Typically, there is no need to call this constructor directly from your code.

See Also