DashboardDesigner.UpdateExtractDataSourcesAsync(Action<String, ExtractUpdateResult>, Action<String, ExtractUpdateResult>, String[]) Method
Updates the specified 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.v25.1.Win.dll
NuGet Package: DevExpress.Win.Dashboard
Declaration
public Task UpdateExtractDataSourcesAsync(
Action<string, ExtractUpdateResult> onDataUpdated,
Action<string, ExtractUpdateResult> onFileUpdated,
params string[] dataSourceNames
)
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. |
| dataSourceNames | String[] | A list of the data source names. |
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