IJobManagerRunJobElementsAsync(IListJobElementHolder, IListBaseScanController, BaseJobExecutorProfile, CancellationTokenSource) Method |
Runs asynchronously a given list of job element holders with a given profile.
Namespace: RAYLASE.Marker.JobAssembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
SyntaxTask RunJobElementsAsync(
IList<JobElementHolder> jobElementHolders,
IList<BaseScanController> scanControllers,
BaseJobExecutorProfile jobExecutorProfile,
CancellationTokenSource cancellationTokenSource = null
)
Parameters
- jobElementHolders IListJobElementHolder
- The list of job element holders.
- scanControllers IListBaseScanController
- The scan controllers to use for marking.
- jobExecutorProfile BaseJobExecutorProfile
- The job executor profile that will be used to run the jobs.
- cancellationTokenSource CancellationTokenSource (Optional)
- TokenSource for canceling the execution. This will stop the execution after the current job element is processed. For aborting the current job element call AbortExecution(Boolean).
Return Value
Task[Missing <returns> documentation for "M:RAYLASE.Marker.Job.IJobManager.RunJobElementsAsync(System.Collections.Generic.IList{RAYLASE.Marker.JobElement.JobElementHolder},System.Collections.Generic.IList{RAYLASE.Marker.Device.ScanController.BaseScanController},RAYLASE.Marker.Job.Executor.BaseJobExecutorProfile,System.Threading.CancellationTokenSource)"]
See Also