Skip to main content
A newer version of this page is available. .

DataLoadingError Class

An error occurred during loading data to a data source.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

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