InterruptionToken class
InterruptionToken class
This class represents the token to use for signaling long running tasks whether the interruption was requested.
The InterruptionToken type exposes the following members:
Properties
Property | Description |
---|---|
none | Represents an empty interruption token. Long-running operations will never be interrupted via InterruptionTokenSource.interrupt when using this token. |
is_interruption_requested | Returns bool.true if interruption was requested. |
Methods
Method | Description |
---|---|
throw_if_interruption_requested | Throws an OperationCanceledException if interruption was requested. |
See Also
- module
aspose.slides
- library
Aspose.Slides