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.155 -- Release Build+fbb54a9347e09f19695376cbf86e09a9ff9ee9ca
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 |