IRefreshable<T>.RefreshAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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