Click or drag to resize
ParallelWorkBrokerQueueWork Method (Action, DispatchQueueType, CancellationToken, ActionTask)
Queues the work specified in the form of the func workToQueueFunc, on the queue specified.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Parallelization
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public Task QueueWork(
	Action workToQueueFunc,
	DispatchQueueType queueToUse,
	CancellationToken cancellationToken,
	Action<Task> continuationFunc
)

Parameters

workToQueueFunc
Type: SystemAction
The work.
queueToUse
Type: SD.LLBLGen.Pro.ApplicationCoreDispatchQueueType
The queue to use.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.
continuationFunc
Type: SystemActionTask
The continuation function to pass to ContinueWith on the created task if not null. If null, no continuation is created.

Return Value

Type: Task
The task created which is dispatched on the queue specified
See Also