Sdílet prostřednictvím


IRefreshable<T>.RefreshAsync(CancellationToken) Method

Definition

Refreshes the resource to sync with Azure.

public System.Threading.Tasks.Task<T> RefreshAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T>
Public Function RefreshAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)

Parameters

cancellationToken
CancellationToken

Returns

Task<T>

the refreshed resource

Applies to