ParallelWorkBrokerQueueWork Method (Action, 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.1.0.0 (5.1.0)
Syntax public Task QueueWork(
Action workToQueueFunc,
DispatchQueueType queueToUse
)
Public Function QueueWork (
workToQueueFunc As Action,
queueToUse As DispatchQueueType
) As Task
Parameters
- workToQueueFunc
- Type: SystemAction
The work. - queueToUse
- Type: SD.LLBLGen.Pro.ApplicationCoreDispatchQueueType
The queue to use.
Return Value
Type:
TaskThe task created which is dispatched on the queue specified
See Also