InterruptionToken Class
This class provides members to manually interrupt Aspose.Words during long running tasks.
Inheritance Hierarchy
SystemObject
  Aspose.WordsInterruptionToken

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.11
Syntax
public class InterruptionToken

The InterruptionToken type exposes the following members.

Constructors
  NameDescription
Public methodInterruptionToken
Initializes a new instance of the InterruptionToken class
Methods
  NameDescription
Public methodBindToCurrentThread
Associates the current thread with this InterruptionToken instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInterrupt
Requests Aspose.Words to abandon the current task.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Remarks
At the moment only interruption when rendering to fixed-page formats such as PDF, XPS, image is supported
See Also