Table of Contents

Enum JobRunResult

Namespace
Quartz
Assembly
Quartz.dll

What one run of a job achieved, as its execution history records it.

public enum JobRunResult

Fields

Cancelled = 2

The firing's cancellation token was signalled and the job stopped rather than finished.

Failed = 1

The job threw, or reported a failure through IJobRunReport.

A reported failure is history only: the scheduler retries, runs OnFailure continuations and raises TriggerRetriesExhausted(ITrigger, IJobExecutionContext, JobExecutionException, CancellationToken) only for a job that throws.

Skipped = 3

The job ran and found nothing to do. Counts as a success.

Succeeded = 0

The job ran and did its work.

Remarks

Separate from ExecutionOutcome, which drives continuations and is not changed by anything a job reports. A job sets Skipped or Failed through Result; see JobRunReport.

Persisted as the integer, so the values are a storage contract: members are never renumbered and a new one is appended.

See Also