Partager via


invalid_multiple_scheduling Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

This class describes an exception thrown when a task_handle object is scheduled multiple times using the run method of a task_group or structured_task_group object without an intervening call to either the wait or run_and_wait methods.

Syntax

class invalid_multiple_scheduling : public std::exception;

Members

Public Constructors

Name Description
invalid_multiple_scheduling::invalid_multiple_scheduling Constructor Overloaded. Constructs an invalid_multiple_scheduling object.

Inheritance Hierarchy

exception

invalid_multiple_scheduling

Requirements

Header: concrt.h

Namespace: concurrency

invalid_multiple_scheduling::invalid_multiple_scheduling Constructor

Constructs an invalid_multiple_scheduling object.

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

invalid_multiple_scheduling() throw();

Parameters

_Message
A descriptive message of the error.

See Also

concurrency Namespace
task_handle Class
task_group Class
task_group::run Method
task_group::wait Method
task_group::run_and_wait Method
structured_task_group Class