Click or drag to resize

IJobManagerRunSync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) Method

Runs synchronously a given job with a given profile. The default scan controller will be the first listed in the job. If job contains multiple scan controllers, it will be executed sequentially. Use RunAsync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) for parallel execution.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
void RunSync(
	JobDefinition jobDefinition,
	BaseJobExecutorProfile jobExecutorProfile,
	CancellationTokenSource cancellationTokenSource = null
)

Parameters

jobDefinition  JobDefinition
The job definition.
jobExecutorProfile  BaseJobExecutorProfile
The job executor profile that will be used to run the job.
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).
See Also