IInterruptionToken Interface

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

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public interface IInterruptionToken

The IInterruptionToken type exposes the following members.

Properties
  NameDescription
Public propertyIsInterruptionRequested
Returns [!:bool.True] if interruption was requested.
Methods
  NameDescription
Public methodThrowIfInterruptionRequested
Throws an OperationCanceledException if interruption was requested. Thrown when interruption was requested.
See Also