## ValueTask::get_IsCanceled method


Gets a value indicating whether the task completed due to being canceled.

```cpp
bool System::Threading::Tasks::ValueTask::get_IsCanceled() const
```


### ReturnValue

bool True if the task was canceled; otherwise, false.

## See Also

* Class [ValueTask](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
