Table of Contents

Class PauseDetails

Namespace
Quartz
Assembly
Quartz.dll

What a pause says about itself: why it was made, and who asked for it. The argument of the *With pause members, such as PauseTriggerWith(TriggerKey, PauseDetails?, CancellationToken).

public sealed class PauseDetails
Inheritance
PauseDetails
Inherited Members

Remarks

When the pause was made is not here: the store stamps it from the scheduler's own clock, and answers all three on PauseInfo.

Details that say nothing — neither text set, or both blank — are the reasonless pause, as null is: nothing is recorded, and the pause is made exactly as the reasonless member makes it.

A context object rather than two parameters, so the next thing a pause carries is a property rather than an overload.

Fields

MaxReasonLength

The longest Reason a store keeps, in UTF-16 code units. A longer one is cut to this, which is what the ADO.NET store's PAUSE_REASON column holds.

public const int MaxReasonLength = 250

Field Value

int

MaxRequestedByLength

The longest RequestedBy a store keeps, in UTF-16 code units. A longer one is cut to this, which is what the ADO.NET store's PAUSED_BY column holds.

public const int MaxRequestedByLength = 200

Field Value

int

Properties

Reason

Why the pause was made, or null when the caller did not say. Blank reads as null.

public string? Reason { get; init; }

Property Value

string

RequestedBy

Who asked for the pause — a user name, a service, or quartz:retries-exhausted when the scheduler paused a trigger itself — or null when nobody said. Blank reads as null.

public string? RequestedBy { get; init; }

Property Value

string