## Task::get_IsCanceled method


Gets whether the task completed due to cancellation.

```cpp
bool System::Threading::Tasks::Task::get_IsCanceled() const
```


### ReturnValue

bool True if the task was canceled

## See Also

* Class [Task](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
