## AbstractInterruptMonitor class

监控所有耗时操作中的中断请求。

```csharp
public abstract class AbstractInterruptMonitor
```

## 特性

| 姓名 | 描述 |
| --- | --- |
| abstract [IsInterruptionRequested](../../aspose.cells/abstractinterruptmonitor/isinterruptionrequested) { get; } | 表示当前操作是否请求中断。 如果为true，则当前操作将被中断。 实现应该在这里进行快速高效的检查，否则可能成为程序的另一个瓶颈。 |
| virtual [TerminateWithoutException](../../aspose.cells/abstractinterruptmonitor/terminatewithoutexception) { get; } | 程序被中断时，是静默终止程序还是抛出异常。 默认为false，即当[`IsInterruptionRequested`](./isinterruptionrequested)是真的， a[`CellsException`](../cellsexception)带代码Interrupted将被抛出。 |

### 也可以看看

* 命名空间 [Aspose.Cells](../../aspose.cells)
* 部件 [Aspose.Cells](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
