task_canceled Class

This class describes an exception thrown by the PPL tasks layer in order to force the current task to cancel. It is also thrown by the get() method on task, for a canceled task.

class task_canceled : public std::exception;

Members

Public Constructors

Name

Description

task_canceled::task_canceled Constructor

Overloaded. Constructs a task_canceled object.

Inheritance Hierarchy

exception

task_canceled

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

task::get Method

cancel_current_task Function