PauseTokenSource Class

Definition

A source token to allow pausing a task

C++/WinRT
[Windows::Foundation::Metadata::WebHostHidden]
class PauseTokenSource
Inheritance
PauseTokenSource
Implements

Constructors

Properties

CancellationToken

An optional cancellation token to be used on our pause task

IsPaused

IsPaused property

Token

The Token property

Methods

CancelPausedIndexing()

Cancel the paused indexing request.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Pause()

Pause request

Resume()

Resume request

Applies to

Proizvod Verzije
Visual Studio SDK 2017, 2019, 2022