Click or drag to resize

IJobManagerRunJobElementsAsync(IListBaseJobElement, IListBaseScanController, Type, CancellationTokenSource) Method

Runs asynchronously a given list of job elements with a specific type of job executor.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
Task RunJobElementsAsync(
	IList<BaseJobElement> jobElements,
	IList<BaseScanController> scanControllers,
	Type jobExecutorType,
	CancellationTokenSource cancellationTokenSource = null
)

Parameters

jobElements  IListBaseJobElement
The list of job elements.
scanControllers  IListBaseScanController
The scan controllers to use for marking.
jobExecutorType  Type
The type of the executor.
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.BaseJobElement},System.Collections.Generic.IList{RAYLASE.Marker.Device.ScanController.BaseScanController},System.Type,System.Threading.CancellationTokenSource)"]

See Also