IJobManagerRunAsync(JobDefinition, BaseJobExecutorProfile, CancellationTokenSource) Method |
Runs asynchronously a given job with a given profile. The default scan controller will be the first listed in the job.
Namespace: RAYLASE.Marker.JobAssembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
SyntaxTask RunAsync(
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).
Return Value
Task[Missing <returns> documentation for "M:RAYLASE.Marker.Job.IJobManager.RunAsync(RAYLASE.Marker.Job.JobDefinition,RAYLASE.Marker.Job.Executor.BaseJobExecutorProfile,System.Threading.CancellationTokenSource)"]
See Also