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.9
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInterrupt
Requests Aspose.Words to abandon the current task.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Remarks
At the moment only interruption when rendering to fixed-page formats such as PDF, XPS, image is supported
See Also