Class InterruptionToken
Propagates a cooperative cancellation request to long-running save, load, and export operations.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class InterruptionToken
Properties
IsCancellationRequested
Gets is cancellation requested.
Declaration
public bool IsCancellationRequested { get; }
Property Value
| Type | Description |
|---|---|
| bool |
None
Gets none.
Declaration
public static InterruptionToken None { get; }
Property Value
| Type | Description |
|---|---|
| InterruptionToken |
Methods
ThrowIfCancellationRequested()
Provides the throw If Cancellation Requested behavior for this object.
Declaration
public void ThrowIfCancellationRequested()