Constructor QueuedTaskScheduler
- Namespace
- Scaleout.Client.MethodInvocation
- Assembly
- Scaleout.Client.dll
QueuedTaskScheduler()
Initializes the scheduler.
public QueuedTaskScheduler()
QueuedTaskScheduler(TaskScheduler)
Initializes the scheduler.
public QueuedTaskScheduler(TaskScheduler targetScheduler)
Parameters
targetSchedulerTaskSchedulerThe target underlying scheduler onto which this scheduler's work is queued.
QueuedTaskScheduler(TaskScheduler, int)
Initializes the scheduler.
public QueuedTaskScheduler(TaskScheduler targetScheduler, int maxConcurrencyLevel)
Parameters
targetSchedulerTaskSchedulerThe target underlying scheduler onto which this scheduler's work is queued.
maxConcurrencyLevelintThe maximum degree of concurrency allowed for this scheduler's work.
QueuedTaskScheduler(int)
Initializes the scheduler.
public QueuedTaskScheduler(int threadCount)
Parameters
threadCountintThe number of threads to create and use for processing work items.
QueuedTaskScheduler(int, string, bool, ThreadPriority, int, Action, Action)
Initializes the scheduler.
public QueuedTaskScheduler(int threadCount, string threadName = "", bool useForegroundThreads = false, ThreadPriority threadPriority = ThreadPriority.Normal, int threadMaxStackSize = 0, Action threadInit = null, Action threadFinally = null)
Parameters
threadCountintThe number of threads to create and use for processing work items.
threadNamestringThe name to use for each of the created threads.
useForegroundThreadsboolA Boolean value that indicates whether to use foreground threads instead of background.
threadPriorityThreadPriorityThe priority to assign to each thread.
threadMaxStackSizeintThe stack size to use for each thread.
threadInitActionAn initialization routine to run on each thread.
threadFinallyActionA finalization routine to run on each thread.