get_IsCanceled()

ValueTask::get_IsCanceled() const method

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

bool System::Threading::Tasks::ValueTask::get_IsCanceled() const

Return Value

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

See Also