We recommend using Visual Studio 2017

invalid_scheduler_policy_key Class


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

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.

class invalid_scheduler_policy_key : public std::exception;

Public Constructors

invalid_scheduler_policy_key::invalid_scheduler_policy_key ConstructorOverloaded. Constructs an invalid_scheduler_policy_key object.



Header: concrt.h

Namespace: concurrency

Constructs an invalid_scheduler_policy_key object.

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

invalid_scheduler_policy_key() throw();


A descriptive message of the error.

concurrency Namespace
SchedulerPolicy Class