Interface IInterruptMonitor

IInterruptMonitor 接口

表示有关中断的信息。

public interface IInterruptMonitor : IDisposable

属性

名称描述
CancellationToken { get; }用于进程中断的监视器取消令牌。默认情况下,每个 IInterruptMonitor 生成自己的 cancellationSource

方法

名称描述
Interrupt()发送中断操作的请求。

另请参阅