com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class InterruptionToken

  • java.lang.Object
    • com.aspose.slides.InterruptionToken
  • All Implemented Interfaces:
    IInterruptionToken


    public class InterruptionToken
    extends java.lang.Object
    implements IInterruptionToken

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

    • Method Detail

      • throwIfInterruptionRequested

        public final void throwIfInterruptionRequested()

        Throws an if interruption was requested.

        Specified by:
        throwIfInterruptionRequested in interface IInterruptionToken
        Throws:
        com.aspose.ms.System.OperationCanceledException - OperationCanceledException
        com.aspose.ms.System.OperationCanceledException - Thrown when interruption was requested.