invalid_scheduler_policy_thread_specification Class

This class describes an exception thrown when an attempt is made to set the concurrency limits of a SchedulerPolicy object such that the value of the MinConcurrency key is less than the value of the MaxConcurrency key.

Syntax

class invalid_scheduler_policy_thread_specification : public std::exception;

Members

Public Constructors

Name Description
[invalid_scheduler_policy_thread_specification](invalid-scheduler-policy-value-class.md#ctor Overloaded. Constructs an invalid_scheduler_policy_value object.

Inheritance Hierarchy

exception

invalid_scheduler_policy_thread_specification

Requirements

Header: concrt.h

Namespace: concurrency

invalid_scheduler_policy_thread_specification

Constructs an invalid_scheduler_policy_value object.

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

invalid_scheduler_policy_thread_specification() throw();

Parameters

_Message
A descriptive message of the error.

See also

concurrency Namespace
SchedulerPolicy Class