Share via


PauseTokenSource Class

Definition

A source token to allow pausing a task

public ref class PauseTokenSource
public ref class PauseTokenSource : IDisposable
[Windows::Foundation::Metadata::WebHostHidden]
class PauseTokenSource
public class PauseTokenSource
public class PauseTokenSource : IDisposable
type PauseTokenSource = class
type PauseTokenSource = class
    interface IDisposable
Public Class PauseTokenSource
Public Class PauseTokenSource
Implements IDisposable
Inheritance
PauseTokenSource
Implements

Constructors

PauseTokenSource()

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