Class InterruptionTokenSource
Represents the interruption token source class used by the spreadsheet model.
Implements
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class InterruptionTokenSource : IDisposable
Constructors
InterruptionTokenSource()
Initializes a new InterruptionTokenSource for the supplied workbook data.
Declaration
public InterruptionTokenSource()
Properties
IsCancellationRequested
Indicates whether the cancellation requested condition is true for InterruptionTokenSource.
Declaration
public bool IsCancellationRequested { get; }
Property Value
| Type | Description |
|---|---|
| bool | The is cancellation requested returned by the operation. |
Token
Converts the supplied data for use with InterruptionTokenSource.
Declaration
public InterruptionToken Token { get; }
Property Value
| Type | Description |
|---|---|
| InterruptionToken | The token returned by the operation. |
Methods
Cancel()
Exposes the cancel associated with InterruptionTokenSource.
Declaration
public void Cancel()
Dispose()
Exposes the dispose associated with InterruptionTokenSource.
Declaration
public void Dispose()