Click or drag to resize

QueuedTaskScheduler Class

Provides a TaskScheduler that provides control over priorities, fairness, and the underlying threads utilized.
Inheritance Hierarchy
SystemObject
  System.Threading.TasksTaskScheduler
    SD.LLBLGen.Pro.ApplicationCore.ParallelizationQueuedTaskScheduler

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Parallelization
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public sealed class QueuedTaskScheduler : TaskScheduler, 
	IDisposable

The QueuedTaskScheduler type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyId
Gets the unique ID for this TaskScheduler.
(Inherited from TaskScheduler.)
Public propertyMaximumConcurrencyLevel
Gets the maximum concurrency level to use when processing tasks.
(Overrides TaskSchedulerMaximumConcurrencyLevel.)
Top
Methods
  NameDescription
Public methodActivateNewQueue
Creates and activates a new scheduling queue for this scheduler.
Public methodActivateNewQueue(Int32)
Creates and activates a new scheduling queue for this scheduler.
Public methodDispose
Initiates shutdown of the scheduler.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetScheduledTasks
Gets the tasks scheduled to this scheduler.
(Overrides TaskSchedulerGetScheduledTasks.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodQueueTask
Queues a task to the scheduler.
(Overrides TaskSchedulerQueueTask(Task).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryDequeue
Attempts to dequeue a Task that was previously queued to this scheduler.
(Inherited from TaskScheduler.)
Protected methodTryExecuteTask
Attempts to execute the provided Task on this scheduler.
(Inherited from TaskScheduler.)
Protected methodTryExecuteTaskInline
Tries to execute a task synchronously on the current thread.
(Overrides TaskSchedulerTryExecuteTaskInline(Task, Boolean).)
Top
Remarks
From ParallelExtensionsExtras
See Also