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
targetScheduler
TaskSchedulerThe target underlying scheduler onto which this scheduler's work is queued.
QueuedTaskScheduler(TaskScheduler, int)
Initializes the scheduler.
public QueuedTaskScheduler(TaskScheduler targetScheduler, int maxConcurrencyLevel)
Parameters
targetScheduler
TaskSchedulerThe target underlying scheduler onto which this scheduler's work is queued.
maxConcurrencyLevel
intThe maximum degree of concurrency allowed for this scheduler's work.
QueuedTaskScheduler(int)
Initializes the scheduler.
public QueuedTaskScheduler(int threadCount)
Parameters
threadCount
intThe 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
threadCount
intThe number of threads to create and use for processing work items.
threadName
stringThe name to use for each of the created threads.
useForegroundThreads
boolA Boolean value that indicates whether to use foreground threads instead of background.
threadPriority
ThreadPriorityThe priority to assign to each thread.
threadMaxStackSize
intThe stack size to use for each thread.
threadInit
ActionAn initialization routine to run on each thread.
threadFinally
ActionA finalization routine to run on each thread.