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: 22.1.0.0 (22.1)
Syntax
public interface IInterruptionToken

The IInterruptionToken type exposes the following members.

Properties
  NameDescription
Public propertyIsInterruptionRequested
Returns Boolean.true if interruption was requested.
Methods
  NameDescription
Public methodThrowIfInterruptionRequested
Throws an OperationCanceledException if interruption was requested. Thrown when interruption was requested.
See Also