The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v18.2.Core.dll

Declaration

public event ExtractConnectionErrorEventHandler ConnectionError
Public Event ConnectionError As ExtractConnectionErrorEventHandler

Event Data

The ConnectionError event handler receives an argument of the ExtractConnectionErrorEventArgs type. 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.

Remarks

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