get_IsCanceled()

Task::get_IsCanceled() const method

Gets whether the task completed due to cancellation.

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

Return Value

bool True if the task was canceled

See Also