Class InterruptMonitor
InterruptMonitor class
表示有关中断的信息。
public class InterruptMonitor : IInterruptMonitor
Constructors
Name | Description |
---|---|
InterruptMonitor() | 默认构造函数。 |
Properties
Name | Description |
---|---|
CancellationToken { get; } | 监视器的取消令牌,用于进程中断。默认情况下,每个 IInterruptMonitor 生成自己的 cancellationSource。 |
static ThreadLocalInstance { get; set; } | 获取或设置每个线程唯一的 IInterruptMonitor 实例。 |
Methods
Name | Description |
---|---|
Dispose() | 释放使用的资源。 |
virtual Interrupt() | 发送中断操作的请求。 |
See Also
- interface IInterruptMonitor
- namespace Aspose.Pdf.Multithreading
- assembly Aspose.PDF