Class InterruptionToken
Propagates a cooperative cancellation request to long-running save, load, and export operations.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class InterruptionToken
Properties
IsCancellationRequested
Indicates whether the cancellation requested condition is true for the InterruptionToken.
Declaration
public bool IsCancellationRequested { get; }
Property Value
| Type | Description |
|---|---|
| bool | The is cancellation requested returned by the operation. |
None
Exposes the none associated with InterruptionToken.
Declaration
public static InterruptionToken None { get; }
Property Value
| Type | Description |
|---|---|
| InterruptionToken | The none returned by the operation. |
Methods
ThrowIfCancellationRequested()
Exposes the throw if cancellation requested associated with InterruptionToken.
Declaration
public void ThrowIfCancellationRequested()