Table of Contents

Class ScheduleOccurrenceFailureSnapshot

Namespace
Excalibur.Dispatch.Delivery
Assembly
Excalibur.Dispatch.Abstractions.dll

Detached failure provenance and an optional immutable recovery receipt.

public sealed class ScheduleOccurrenceFailureSnapshot
Inheritance
ScheduleOccurrenceFailureSnapshot
Inherited Members
Extension Methods

Constructors

ScheduleOccurrenceFailureSnapshot(ScheduleQuarantineToken, ScheduleFailureReason, ScheduleFailureDisposition, int, int, DateTimeOffset, IScheduledMessage, ScheduleQuarantineRecoveryReceipt?)

Initializes a detached failure observation.

public ScheduleOccurrenceFailureSnapshot(ScheduleQuarantineToken token, ScheduleFailureReason reason, ScheduleFailureDisposition disposition, int admissionAttempts, int maxAdmissionAttempts, DateTimeOffset recordedUtc, IScheduledMessage message, ScheduleQuarantineRecoveryReceipt? recoveryReceipt = null)

Parameters

token ScheduleQuarantineToken

Stable failure identity; quarantine identifiers are provider-owned.

reason ScheduleFailureReason

Bounded failure reason.

disposition ScheduleFailureDisposition

Current failure disposition.

admissionAttempts int

Consumed grants, not proven handler calls; zero is valid for explicitly cancelled recovery before its first grant.

maxAdmissionAttempts int

Immutable automatic budget.

recordedUtc DateTimeOffset

Authority-recorded timestamp.

message IScheduledMessage

Original complete envelope.

recoveryReceipt ScheduleQuarantineRecoveryReceipt

Persisted recovery result, if resolved.

Properties

AdmissionAttempts

Gets the count of consumed admissions.

public int AdmissionAttempts { get; }

Property Value

int

Disposition

Gets the confirmed disposition.

public ScheduleFailureDisposition Disposition { get; }

Property Value

ScheduleFailureDisposition

MaxAdmissionAttempts

Gets the captured automatic budget.

public int MaxAdmissionAttempts { get; }

Property Value

int

Message

Gets an independently detached envelope copy.

public IScheduledMessage Message { get; }

Property Value

IScheduledMessage

Reason

Gets the bounded reason.

public ScheduleFailureReason Reason { get; }

Property Value

ScheduleFailureReason

RecordedUtc

Gets the provider-clock observation.

public DateTimeOffset RecordedUtc { get; }

Property Value

DateTimeOffset

RecoveryReceipt

Gets the immutable recovery receipt if this quarantine was resumed.

public ScheduleQuarantineRecoveryReceipt? RecoveryReceipt { get; }

Property Value

ScheduleQuarantineRecoveryReceipt

Token

Gets the stable provider-owned identity.

public ScheduleQuarantineToken Token { get; }

Property Value

ScheduleQuarantineToken