Export (0) Print
Expand All
Expand Minimize

TaskExecutionPolicy Enumeration

Microsoft Robotics
Microsoft Robotics Class Reference
Specifies dispatcher queue task scheduling behavior

Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)

public enum TaskExecutionPolicy

Member nameValueDescription
Unconstrained0 Default behavior, all tasks are queued with no constraints
ConstrainQueueDepthDiscardTasks1 Queue enforces maximum depth (specified at queue creation) and discards tasks enqueued after the limit is reached
ConstrainQueueDepthThrottleExecution2 Queue enforces maximum depth (specified at queue creation) but does not discard anny tasks. It forces the thread posting any tasks after the limit is reached, to sleep until the queue depth falls below the limit
ConstrainSchedulingRateDiscardTasks3 Queue enforces the rate of task scheduling specified at queue creation and discards tasks enqueued after the current scheduling rate is above the specified rate
ConstrainSchedulingRateThrottleExecution4 Queue enforces the rate of task scheduling specified at queue creation and forces the thread posting tasks to sleep until the current rate of task scheduling falls below the specified average rate
Show:
© 2014 Microsoft