Table of Contents

Class SchedulerErrorDto

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

An error a scheduler reported, and the node that reported it.

public sealed record SchedulerErrorDto : IEquatable<SchedulerErrorDto>
Inheritance
SchedulerErrorDto
Implements
Inherited Members

Remarks

TriggerKey and JobKey are null when the scheduler could not say what the error was about — a store retrying a failed operation names neither.

Constructors

SchedulerErrorDto(string, string, string, string?, TriggerKeyDto?, JobKeyDto?)

An error a scheduler reported, and the node that reported it.

public SchedulerErrorDto(string SchedulerName, string SchedulerInstanceId, string Message, string? Cause, TriggerKeyDto? TriggerKey, JobKeyDto? JobKey)

Parameters

SchedulerName string

The scheduler the error belongs to.

SchedulerInstanceId string

The node that raised the event.

Message string

What went wrong.

Cause string

The underlying failure, where there was one.

TriggerKey TriggerKeyDto

The trigger the error was about, where the scheduler could say.

JobKey JobKeyDto

The job the error was about, where the scheduler could say.

Remarks

TriggerKey and JobKey are null when the scheduler could not say what the error was about — a store retrying a failed operation names neither.

Properties

Cause

The underlying failure, where there was one.

public string? Cause { get; init; }

Property Value

string

JobKey

The job the error was about, where the scheduler could say.

public JobKeyDto? JobKey { get; init; }

Property Value

JobKeyDto

Message

What went wrong.

public string Message { get; init; }

Property Value

string

SchedulerInstanceId

The node that raised the event.

public string SchedulerInstanceId { get; init; }

Property Value

string

SchedulerName

The scheduler the error belongs to.

public string SchedulerName { get; init; }

Property Value

string

TriggerKey

The trigger the error was about, where the scheduler could say.

public TriggerKeyDto? TriggerKey { get; init; }

Property Value

TriggerKeyDto