Share via


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.

Syntax

class invalid_scheduler_policy_key : public std::exception;

Members

Public Constructors

Name Description
invalid_scheduler_policy_key::invalid_scheduler_policy_key Constructor 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::invalid_scheduler_policy_key Constructor

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