Skip to main content

DashboardViewer.ReloadDataSourceAsync(IDashboardDataSource, CancellationToken) Method

Reloads data from the specified data source instance. The operation is asynchronous. You can propagate a notification to cancel it.

Namespace: DevExpress.DashboardWin

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

Declaration

public Task ReloadDataSourceAsync(
    IDashboardDataSource dataSource,
    CancellationToken token
)

Parameters

Name Type Description
dataSource IDashboardDataSource

An IDashboardDataSource object that specifies the data source.

token CancellationToken

A CancellationToken object to monitor for cancellation requests.

Returns

Type Description
Task

The task object that is the asynchronous operation.

See Also