com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IInterruptionToken

  • All Known Implementing Classes:
    InterruptionToken


    public interface IInterruptionToken

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

    • Method Detail

      • isInterruptionRequested

        boolean isInterruptionRequested()

        Returns boolean.true if interruption was requested.

      • throwIfInterruptionRequested

        void throwIfInterruptionRequested()

        Throws an if interruption was requested.

        Throws:
        com.aspose.ms.System.OperationCanceledException - OperationCanceledException
        com.aspose.ms.System.OperationCanceledException - Thrown when interruption was requested.