Class InterruptMonitor
- Namespace
- Aspose.Imaging.Multithreading
- Assembly
- Aspose.Imaging.dll
Represents information about interruption.
public class InterruptMonitor : IInterruptMonitor
- Inheritance
-
InterruptMonitor
- Implements
- Inherited Members
Constructors
InterruptMonitor()
public InterruptMonitor()
Properties
IsInterrupted
Gets the value indicating whether operations should be interrupted.
public virtual bool IsInterrupted { get; }
Property Value
ThreadLocalInstance
Gets or sets the IInterruptMonitor instance which is unique for each thread.
public static IInterruptMonitor ThreadLocalInstance { get; set; }
Property Value
Methods
Interrupt()
Sends a request to interrupt operations.
public virtual void Interrupt()