Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SchedulerPolicy class contains a set of key/value pairs, one for each policy element, that control the behavior of a scheduler instance.
For more information about working with scheduler policies, including examples, see Scheduler Policies.
class SchedulerPolicy;
Members
Public Constructors
| Name | Description | 
|---|---|
| Overloaded. Constructs a new scheduler policy and populates it with values for policy keys supported by Concurrency Runtime schedulers and the Resource Manager. | |
| Destroys a scheduler policy. | 
Public Methods
| Name | Description | 
|---|---|
| Retrieves the value of the policy key supplied as the _Key parameter. | |
| Simultaneously sets the MinConcurrency and MaxConcurrency policies on the SchedulerPolicy object. | |
| Sets the value of the policy key supplied as the _Key parameter and returns the old value. | 
Public Operators
| Name | Description | 
|---|---|
| Assigns the scheduler policy from another scheduler policy. | 
Remarks
For more information about the policies which can be controlled using the SchedulerPolicy class, see PolicyElementKey Enumeration.
Inheritance Hierarchy
SchedulerPolicy
Requirements
Header: concrt.h, concrtrm.h
Namespace: concurrency