IInterruptionToken class

IInterruptionToken class

This class represents the token to use for signaling long running tasks whether the interruption was requested.

The IInterruptionToken type exposes the following members:

Properties

PropertyDescription
is_interruption_requestedReturns bool.true if interruption was requested.

Methods

MethodDescription
throw_if_interruption_requestedThrows an OperationCanceledException if
interruption was requested.
Thrown when interruption was requested.

See Also