Class JobExecutionResultDto
How a job execution ended, and the node it ran on.
public sealed record JobExecutionResultDto : IEquatable<JobExecutionResultDto>
- Inheritance
-
JobExecutionResultDto
- Implements
- Inherited Members
Remarks
RunTime is a TimeSpan, as every other duration on the wire is — it carries JobRunTime unrounded, where the milliseconds it used to be threw away everything below one.
Constructors
JobExecutionResultDto(string, JobKeyDto, TriggerKeyDto, DateTimeOffset, TimeSpan, bool, string?)
How a job execution ended, and the node it ran on.
public JobExecutionResultDto(string SchedulerInstanceId, JobKeyDto JobKey, TriggerKeyDto TriggerKey, DateTimeOffset FireTimeUtc, TimeSpan RunTime, bool Vetoed, string? ExceptionMessage)
Parameters
SchedulerInstanceIdstringThe node that raised the event.
JobKeyJobKeyDtoThe job that ran.
TriggerKeyTriggerKeyDtoThe trigger that fired it.
FireTimeUtcDateTimeOffsetWhen it fired.
RunTimeTimeSpanHow long it ran.
VetoedboolWhether a listener vetoed it, in which case it never ran at all.
ExceptionMessagestringWhat it faulted with, or null when it succeeded.
Remarks
RunTime is a TimeSpan, as every other duration on the wire is — it carries JobRunTime unrounded, where the milliseconds it used to be threw away everything below one.
Properties
ExceptionMessage
What it faulted with, or null when it succeeded.
public string? ExceptionMessage { get; init; }
Property Value
FireTimeUtc
When it fired.
public DateTimeOffset FireTimeUtc { get; init; }
Property Value
JobKey
The job that ran.
public JobKeyDto JobKey { get; init; }
Property Value
RunTime
How long it ran.
public TimeSpan RunTime { get; init; }
Property Value
SchedulerInstanceId
The node that raised the event.
public string SchedulerInstanceId { get; init; }
Property Value
TriggerKey
The trigger that fired it.
public TriggerKeyDto TriggerKey { get; init; }
Property Value
Vetoed
Whether a listener vetoed it, in which case it never ran at all.
public bool Vetoed { get; init; }