invalid_scheduler_policy_key Class

This class describes an exception thrown when an invalid or unknown key is passed to a SchedulerPolicy object constructor, or the SetPolicyValue method of a SchedulerPolicy object is passed a key that must be changed using other means such as the SetConcurrencyLimits method.

Syntax

class invalid_scheduler_policy_key : public std::exception;

Members

Public Constructors

Name Description
invalid_scheduler_policy_key Overloaded. Constructs an invalid_scheduler_policy_key object.

Inheritance Hierarchy

exception

invalid_scheduler_policy_key

Requirements

Header: concrt.h

Namespace: concurrency

invalid_scheduler_policy_key

Constructs an invalid_scheduler_policy_key object.

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

invalid_scheduler_policy_key() throw();

Parameters

_Message
A descriptive message of the error.

See also

concurrency Namespace
SchedulerPolicy Class