public interface IInterruptionToken
This class represents the token to use for signaling long running tasks whether the interruption was requested.
Modifier and Type | Method and Description |
---|---|
boolean |
isInterruptionRequested()
Returns
bool.True if interruption was requested. |
void |
throwIfInterruptionRequested()
Throws an if
interruption was requested.
|
boolean isInterruptionRequested()
Returns bool.True
if interruption was requested.
void throwIfInterruptionRequested()
Throws an if interruption was requested.
com.aspose.ms.System.OperationCanceledException
- OperationCanceledExceptioncom.aspose.ms.System.OperationCanceledException
- Thrown when interruption was requested.