IInterruptionToken

IInterruptionToken interface

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

public interface IInterruptionToken

Properties

Name Description
IsInterruptionRequested { get; } Returns Boolean.true if interruption was requested.

Methods

Name Description
ThrowIfInterruptionRequested() Throws an OperationCanceledException if interruption was requested. Thrown when interruption was requested.

See Also