PriorityStrandGetScheduler Method
Gets a TaskScheduler used to queue tasks at a specific priority.
Namespace: Gemstone.Threading.StrandsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.141 -- Release Build+5e2ec463438f5de09767d41cb13e56e90c503d09
public TaskScheduler GetScheduler(
int priority
)
Public Function GetScheduler (
priority As Integer
) As TaskScheduler
public:
TaskScheduler^ GetScheduler(
int priority
)
function GetScheduler(priority);
- priority Int32
- The priority at which tasks should be queued by the returned TaskScheduler. Higher numbers are higher in priority!
TaskSchedulerA
TaskScheduler that queues tasks into the strand at the given priority.
For a strand with n priorities, it is recommended to use priority levels between 0 and n-1 inclusive.
ArgumentException | priority is less than zero |