RealTimeStateMachineConfigSetWorkFuncForWorkId Method |
Sets the work function to execute for the work identifier specified. It will be scheduled on the queue with the specified queuetype.
Namespace: SD.LLBLGen.Pro.ApplicationCore.ParallelizationAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public void SetWorkFuncForWorkId(
string workId,
Action<RealTimeWorkController, string> workFunc,
DispatchQueueType queueType
)
Public Sub SetWorkFuncForWorkId (
workId As String,
workFunc As Action(Of RealTimeWorkController, String),
queueType As DispatchQueueType
)
Parameters
- workId
- Type: SystemString
The work identifier. - workFunc
- Type: SystemActionRealTimeWorkController, String
The work function. - queueType
- Type: SD.LLBLGen.Pro.ApplicationCoreDispatchQueueType
Type of the queue to dispatch the workFunc on.
See Also