DataLoadingError Class

An error occurred during loading data to a data source.

Namespace: DevExpress.DashboardCommon

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

Declaration

public class DataLoadingError
Public Class DataLoadingError

Remarks

The DataLoadingError object is a container for the information related to the data loading error:

  • data source name
  • an exception that occurs during data loading
  • the text to explain the situation to the end user.

The DataLoadingError objects are available in the DataLoadingError event handlers.

The DataLoadingError events (e.g., DashboardDesigner.DataLoadingError, DashboardViewer.DataLoadingError, or DashboardControl.DataLoadingError) are raised when one or more errors occur during data loading. The Error dialog informs the end user about these errors:

DataLoadingErrorForm

In code, use the DataLoadingErrorEventArgs.Errors property to obtain a list of DataLoadingError instances.

Tip

To hide the Error dialog, set the DataLoadingErrorEventArgs.Handled property to true.

Note

To handle connection errors, subscribe to the ConnectionError events.

Inheritance

Object
DataLoadingError
See Also