Table of Contents

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 TaskScheduler

The 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 TaskScheduler

The target underlying scheduler onto which this scheduler's work is queued.

maxConcurrencyLevel int

The maximum degree of concurrency allowed for this scheduler's work.

QueuedTaskScheduler(int)

Initializes the scheduler.

public QueuedTaskScheduler(int threadCount)

Parameters

threadCount int

The 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 int

The number of threads to create and use for processing work items.

threadName string

The name to use for each of the created threads.

useForegroundThreads bool

A Boolean value that indicates whether to use foreground threads instead of background.

threadPriority ThreadPriority

The priority to assign to each thread.

threadMaxStackSize int

The stack size to use for each thread.

threadInit Action

An initialization routine to run on each thread.

threadFinally Action

A finalization routine to run on each thread.