IJobManagerDryRunAsync Method |
Performs a dry run of the job. It will build all job elements and calculates the bounding boxes and execution time.
Namespace: RAYLASE.Marker.JobAssembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
SyntaxTask DryRunAsync(
JobDefinition jobDefinition,
bool prepareJobValidation = true,
CancellationTokenSource cancellationTokenSource = null,
EventHandler<ProcessingStageFinishedEventArgs> stageFinishedHandler = null
)
Parameters
- jobDefinition JobDefinition
- The job definition.
- prepareJobValidation Boolean (Optional)
- Adds the executed job elements to the JobsValidator. If true, RemoveJobDefinitionFromJobsValidator(JobDefinition) hat to be called, before the job can be disposed.
- 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).
- stageFinishedHandler EventHandlerProcessingStageFinishedEventArgs (Optional)
- This method is called as soon as a job element has finished a processing stage.
Return Value
Task[Missing <returns> documentation for "M:RAYLASE.Marker.Job.IJobManager.DryRunAsync(RAYLASE.Marker.Job.JobDefinition,System.Boolean,System.Threading.CancellationTokenSource,System.EventHandler{RAYLASE.Marker.Job.Executor.ProcessingStageFinishedEventArgs})"]
See Also