IInterruptionToken
IInterruptionToken 接口
此类表示用于向长时间运行的任务发出是否请求中断信号的令牌。
public interface IInterruptionToken
属性
| 名称 | 描述 |
|---|---|
| IsInterruptionRequested { get; } | 如果请求了中断,则返回 Boolean.true。 |
方法
| 名称 | 描述 |
|---|---|
| ThrowIfInterruptionRequested() | 如果请求了中断,则抛出 OperationCanceledException。中断请求时抛出。 |
另请参见
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides