InterruptMonitor klass
Summary: Represents information about interruption.
Module: aspose.imaging.multithreading
Full Name: aspose.imaging.multithreading.InterruptMonitor
Inheritance: IInterruptMonitor
Constructors
| Name | Description |
|---|---|
| InterruptMonitor() | IInterruptMonitor-instansen som är unik för varje tråd. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| is_interrupted | bool | r | Hämtar värdet som indikerar om operationer ska avbrytas. |
| thread_local_instance [static] | IInterruptMonitor | r/w | Hämtar eller anger IInterruptMonitor-instansen som är unik för varje tråd. |
Methods
| Name | Description |
|---|---|
| interrupt() | Skickar en begäran om att avbryta operationer. |
Constructor: InterruptMonitor()
InterruptMonitor()
IInterruptMonitor-instansen som är unik för varje tråd.