Skip to main content

DashboardDesigner.UpdateExtractDataSourcesAsync(Action<String, ExtractUpdateResult>, Action<String, ExtractUpdateResult>) Method

Updates all extract data sources in the current dashboard asynchronously. Allows you to set custom actions to perform after updating the data and file.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v24.1.Win.dll

NuGet Package: DevExpress.Win.Dashboard

Declaration

public Task UpdateExtractDataSourcesAsync(
    Action<string, ExtractUpdateResult> onDataUpdated,
    Action<string, ExtractUpdateResult> onFileUpdated
)

Parameters

Name Type Description
onDataUpdated Action<String, ExtractUpdateResult>

A custom action to perform when the data is updated.

onFileUpdated Action<String, ExtractUpdateResult>

A custom action to perform when the file is updated.

Returns

Type Description
Task

The task object that is the asynchronous operation to complete.

Remarks

For a use example, refer to the DashboardViewer.UpdateExtractDataSourcesAsync method.

See Also