Click or drag to resize

ParallelWorkBrokerQueueWorkT Method (FuncT, DispatchQueueType)

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.9.0.0 (5.9.0)
Syntax
public Task<T> QueueWork<T>(
	Func<T> workToQueueFunc,
	DispatchQueueType queueToUse
)

Parameters

workToQueueFunc
Type: SystemFuncT
The work.
queueToUse
Type: SD.LLBLGen.Pro.ApplicationCoreDispatchQueueType
The queue to use.

Type Parameters

T
The type of the result of the work queue func and the continuation func

Return Value

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