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.
C++
class invalid_scheduler_policy_key : public std::exception;
Name | Description |
---|---|
invalid_scheduler_policy_key | Overloaded. Constructs an invalid_scheduler_policy_key object. |
exception
invalid_scheduler_policy_key
Header: concrt.h
Namespace: concurrency
Constructs an invalid_scheduler_policy_key
object.
C++
explicit _CRTIMP invalid_scheduler_policy_key(_In_z_ const char* _Message) throw();
invalid_scheduler_policy_key() throw();
_Message
A descriptive message of the error.