Table of Contents

Class JobExecutionResultDto

Namespace
Quartz.Dashboard.Hubs
Assembly
Quartz.Dashboard.dll

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

SchedulerInstanceId string

The node that raised the event.

JobKey JobKeyDto

The job that ran.

TriggerKey TriggerKeyDto

The trigger that fired it.

FireTimeUtc DateTimeOffset

When it fired.

RunTime TimeSpan

How long it ran.

Vetoed bool

Whether a listener vetoed it, in which case it never ran at all.

ExceptionMessage string

What 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

string

FireTimeUtc

When it fired.

public DateTimeOffset FireTimeUtc { get; init; }

Property Value

DateTimeOffset

JobKey

The job that ran.

public JobKeyDto JobKey { get; init; }

Property Value

JobKeyDto

RunTime

How long it ran.

public TimeSpan RunTime { get; init; }

Property Value

TimeSpan

SchedulerInstanceId

The node that raised the event.

public string SchedulerInstanceId { get; init; }

Property Value

string

TriggerKey

The trigger that fired it.

public TriggerKeyDto TriggerKey { get; init; }

Property Value

TriggerKeyDto

Vetoed

Whether a listener vetoed it, in which case it never ran at all.

public bool Vetoed { get; init; }

Property Value

bool