Skip to main content

DashboardExtractDataSource.ConnectionError Event

Allows overriding the default behavior when current connection parameters do not allow connecting to a file containing a data extract.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public event ExtractConnectionErrorEventHandler ConnectionError

Event Data

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

Property Description
Cancel Gets or sets whether the operation performed on the processed event should be canceled.
DataSourceName Gets the name of the extract data source.
DriverName Gets or sets the name of the custom driver used to manage writing/reading operations for the data extract.
Exception Gets the exception that caused the event.
FileName Gets or sets the path to the data extract file.
Handled Gets or sets whether default actions are required to connect to a data extract file.


The ConnectionError event is fired when current connection parameters do not allow connecting to a data extract file (for instance, a file is inaccessible). You can handle the ConnectionError event and override the default behavior in this case.

To override the default behavior, do the following:

To cancel connecting to the data extract file, use the ExtractConnectionErrorEventArgs.Cancel property.

To get the exception that caused the event, use the ExtractConnectionErrorEventArgs.Exception property.

See Also