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.165 -- Release Build+f601f11712b0587675df45285a0adf6607cb7bc0
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 |