Class InterruptionTokenSource
Represents the InterruptionTokenSource API type.
Implements
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class InterruptionTokenSource : IDisposable
Constructors
InterruptionTokenSource()
Provides the interruption Token Source behavior for this object.
Declaration
public InterruptionTokenSource()
Properties
IsCancellationRequested
Gets is cancellation requested.
Declaration
public bool IsCancellationRequested { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Token
Gets token.
Declaration
public InterruptionToken Token { get; }
Property Value
| Type | Description |
|---|---|
| InterruptionToken |
Methods
Cancel()
Provides the cancel behavior for this object.
Declaration
public void Cancel()
Dispose()
Provides the dispose behavior for this object.
Declaration
public void Dispose()