Class ScheduleOccurrenceFailureSnapshot
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
tokenScheduleQuarantineTokenStable failure identity; quarantine identifiers are provider-owned.
reasonScheduleFailureReasonBounded failure reason.
dispositionScheduleFailureDispositionCurrent failure disposition.
admissionAttemptsintConsumed grants, not proven handler calls; zero is valid for explicitly cancelled recovery before its first grant.
maxAdmissionAttemptsintImmutable automatic budget.
recordedUtcDateTimeOffsetAuthority-recorded timestamp.
messageIScheduledMessageOriginal complete envelope.
recoveryReceiptScheduleQuarantineRecoveryReceiptPersisted recovery result, if resolved.
Properties
AdmissionAttempts
Gets the count of consumed admissions.
public int AdmissionAttempts { get; }
Property Value
Disposition
Gets the confirmed disposition.
public ScheduleFailureDisposition Disposition { get; }
Property Value
MaxAdmissionAttempts
Gets the captured automatic budget.
public int MaxAdmissionAttempts { get; }
Property Value
Message
Gets an independently detached envelope copy.
public IScheduledMessage Message { get; }
Property Value
Reason
Gets the bounded reason.
public ScheduleFailureReason Reason { get; }
Property Value
RecordedUtc
Gets the provider-clock observation.
public DateTimeOffset RecordedUtc { get; }
Property Value
RecoveryReceipt
Gets the immutable recovery receipt if this quarantine was resumed.
public ScheduleQuarantineRecoveryReceipt? RecoveryReceipt { get; }
Property Value
Token
Gets the stable provider-owned identity.
public ScheduleQuarantineToken Token { get; }