Click or drag to resize

IJobManagerRunAsync(JobDefinition, Type, CancellationTokenSource) Method

Runs asynchronously a given job with a specific type of job executor using its default profile. The default scan controller will be the first listed in the job.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
Task RunAsync(
	JobDefinition jobDefinition,
	Type jobExecutorType,
	CancellationTokenSource cancellationTokenSource = null
)

Parameters

jobDefinition  JobDefinition
The job definition.
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.RunAsync(RAYLASE.Marker.Job.JobDefinition,System.Type,System.Threading.CancellationTokenSource)"]

Exceptions
ExceptionCondition
KeyNotFoundExceptionJob executor type is not valid.
See Also