ISuspendableExternalSettingsProvider.SuspendAsync(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.
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