Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.24 KB

task-canceled-class.md

File metadata and controls

56 lines (36 loc) · 1.24 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: task_canceled Class
task_canceled Class
11/04/2016
task_canceled
CONCRT/concurrency::task_canceled
CONCRT/concurrency::task_canceled::task_canceled
task_canceled class
c3f0b234-2cc1-435f-a48e-995f45b190be

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.

Syntax

class task_canceled : public std::exception;

Members

Public Constructors

Name Description
task_canceled Overloaded. Constructs a task_canceled object.

Inheritance Hierarchy

exception

task_canceled

Requirements

Header: concrt.h

Namespace: concurrency

task_canceled

Constructs a task_canceled object.

explicit _CRTIMP task_canceled(_In_z_ const char* _Message) throw();

task_canceled() throw();

Parameters

_Message
A descriptive message of the error.

See also

concurrency Namespace