ConnectionErrorEventArgs(String, DataConnectionParametersBase, Exception) Constructor
Initializes a new instance of the ConnectionErrorEventArgs class.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public ConnectionErrorEventArgs(
string connectionName,
DataConnectionParametersBase connectionParameters,
Exception exception
)
#Parameters
Name | Type | Description |
---|---|---|
connection |
String | A String that specifies the name of the connection for which the event has been raised. This value is assigned to the Configure |
connection |
Data |
A Data |
exception | Exception | A Exception object representing the exception that caused the event. |
#Remarks
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.