Share via


ISuspendableExternalSettingsProvider.SuspendAsync(CancellationToken) Method

Definition

This method is called by Unified Settings when focus moves away from the Options UI. The provider should release expensive resources such as those that are used to keep setting values up to date when the UI is active.

public System.Threading.Tasks.Task SuspendAsync(System.Threading.CancellationToken cancellationToken);
abstract member SuspendAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SuspendAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to