IConfigurationRefresher.TryRefreshAsync(CancellationToken) Method

Definition

Refreshes the data from App Configuration asynchronously. A return value indicates whether the operation succeeded.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to cancel the operation.

Returns

Applies to