• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class InterruptionToken

Propagates a cooperative cancellation request to long-running save, load, and export operations.

Inheritance
object
InterruptionToken
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX