Back to Devexpress

DashboardControl.ConnectionError Event

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrol-b285de54.md

latest2.8 KB
Original Source

DashboardControl.ConnectionError Event

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

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public event ConnectionErrorWpfEventHandler ConnectionError
vb
Public Event ConnectionError As ConnectionErrorWpfEventHandler

Event Data

The ConnectionError event's data class is ConnectionErrorWpfEventArgs. 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.
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.

See Also

DashboardControl Class

DashboardControl Members

DevExpress.DashboardWpf Namespace