System::Threading::Tasks::ResultValueTask::get_IsCanceled method

ResultValueTask::get_IsCanceled method

Gets a value indicating whether the task completed due to being canceled.

bool System::Threading::Tasks::ResultValueTask<T>::get_IsCanceled() const

ReturnValue

bool True if the task was canceled; otherwise, false.

Remarks

Returns false if the task contains a direct result value.

See Also