Back to Devexpress

IDashboardControl.ConnectionError Event

dashboard-devexpress-dot-dashboardwin-dot-idashboardcontrol-07f37e19.md

latest3.2 KB
Original Source

IDashboardControl.ConnectionError Event

Allows to override the default behavior if data store connection fails with current connection parameters.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
event DashboardConnectionErrorEventHandler ConnectionError
vb
Event ConnectionError As DashboardConnectionErrorEventHandler

Event Data

The ConnectionError event's data class is DashboardConnectionErrorEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets whether the operation performed on the processed event should be canceled. Inherited from ConnectionErrorEventArgs.
ConnectionNameGets the name of the connection for which the event has been raised. Inherited from ConfigureDataConnectionEventArgs.
ConnectionParametersGets or sets parameters used to establish a connection to data. Inherited from ConfigureDataConnectionEventArgs.
DataSourceNameGets the data source name for which the event was raised.
ExceptionGets an exception that caused the ConnectionError event. Inherited from ConnectionErrorEventArgs.
HandledGets or sets whether default actions are required to connect to a data store. Inherited from ConnectionErrorEventArgs.

The event data class exposes the following methods:

MethodDescription
CloseWaitForm()Closes the wait form.
ShowWaitForm()Shows the wait form.

See Also

IDashboardControl Interface

IDashboardControl Members

DevExpress.DashboardWin Namespace