## AsyncCompletedEventArgs::get_Error method


获取一个值，指示在异步操作期间发生了哪个错误。

```cpp
const System::Exception & System::ComponentModel::AsyncCompletedEventArgs::get_Error() const
```


### ReturnValue

如果在异步操作期间发生错误，则为一个 [System.Exception](../../../system/exception/) 实例；否则为 null。

## 另见

* Typedef [Exception](../../../system/exception/)
* Class [AsyncCompletedEventArgs](../)
* Namespace [System::ComponentModel](../../)
* Library [Aspose.Page for C++](../../../)
