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

DashboardViewer.ReloadDataSourceAsync(String, CancellationToken) Method

Reloads data from the specified data source. Accepts data source component name as the parameter. The operation is asynchronous. You can propagate a notification to cancel it.

Namespace: DevExpress.DashboardWin

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

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

Declaration

public Task ReloadDataSourceAsync(
    string dataSourceComponentName,
    CancellationToken token
)

Parameters

Name Type Description
dataSourceComponentName String

A String value that specifies the data source component name.

token CancellationToken

A CancellationToken object to monitor for cancellation requests.

Returns

Type Description
Task

The task object that is the asynchronous operation to complete.

See Also