IJobManagerRunSync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) Method |
Namespace: RAYLASE.Marker.JobAssembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntaxvoid 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