PauseTokenSource Class
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.
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 |