## OperationCanceledException class

表示操作取消时发生的错误。

```csharp
public class OperationCanceledException : AsposeException
```

## 构造函数

| 姓名 | 描述 |
| --- | --- |
| [OperationCanceledException](operationcanceledexception#constructor)() | 初始化OperationCanceledException类. |
| [OperationCanceledException](operationcanceledexception#constructor_1)(string) | 初始化OperationCanceledException具有指定错误消息的类。 |
| [OperationCanceledException](operationcanceledexception#constructor_2)(string, Exception) | 初始化OperationCanceledException类 带有指定的错误消息和对导致此异常的内部异常的引用。 |
| [OperationCanceledException](operationcanceledexception#constructor_3)(string, params object[]) | 初始化OperationCanceledException具有指定错误消息的类。 |

## 特性

| 姓名 | 描述 |
| --- | --- |
| [ErrorDetails](../../aspose.email/asposeexception/errordetails) { get; } | 获取有关错误的额外信息 |
| override [Message](../../aspose.email/asposeexception/message) { get; } | 获取描述当前异常的消息。 |

## 方法

| 姓名 | 描述 |
| --- | --- |
| override [ToString](../../aspose.email/asposeexception/tostring)() | 返回代表当前对象的字符串。 |

### 也可以看看

* class [AsposeException](../../aspose.email/asposeexception)
* 命名空间 [Aspose.Email.Exceptions](../../aspose.email.exceptions)
* 部件 [Aspose.Email](../../)

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