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.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
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 |