Class FailureScenarioOutboxEntry
- Namespace
- ReferenceApplication.Web.Governance.FailureScenarios
- Assembly
- ReferenceApplication.Web.dll
A run's audit-completion outbox entry.
public sealed record FailureScenarioOutboxEntry : IEquatable<FailureScenarioOutboxEntry>
- Inheritance
-
FailureScenarioOutboxEntry
- Implements
- Inherited Members
Constructors
FailureScenarioOutboxEntry(string, int, int, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, string?, bool)
A run's audit-completion outbox entry.
public FailureScenarioOutboxEntry(string Status, int RetryCount, int MaxRetryAttempts, DateTimeOffset? LastAttemptUtc, DateTimeOffset? NextAttemptUtc, DateTimeOffset? DeliveredUtc, string? LastErrorCode, string? LastErrorMessage, bool LifecycleEventAppended)
Parameters
StatusstringThe outbox status.
RetryCountintThe failed delivery attempts so far.
MaxRetryAttemptsintThe failed attempts the outbox allows before it dead-letters the entry.
LastAttemptUtcDateTimeOffset?When delivery was last attempted.
NextAttemptUtcDateTimeOffset?When delivery is next attempted.
DeliveredUtcDateTimeOffset?When the entry was delivered.
LastErrorCodestringThe error code of the last failed attempt.
LastErrorMessagestringThe error message of the last failed attempt.
LifecycleEventAppendedboolWhether the lifecycle event the delivery appends exists.
Properties
DeliveredUtc
When the entry was delivered.
public DateTimeOffset? DeliveredUtc { get; init; }
Property Value
LastAttemptUtc
When delivery was last attempted.
public DateTimeOffset? LastAttemptUtc { get; init; }
Property Value
LastErrorCode
The error code of the last failed attempt.
public string? LastErrorCode { get; init; }
Property Value
LastErrorMessage
The error message of the last failed attempt.
public string? LastErrorMessage { get; init; }
Property Value
LifecycleEventAppended
Whether the lifecycle event the delivery appends exists.
public bool LifecycleEventAppended { get; init; }
Property Value
MaxRetryAttempts
The failed attempts the outbox allows before it dead-letters the entry.
public int MaxRetryAttempts { get; init; }
Property Value
NextAttemptUtc
When delivery is next attempted.
public DateTimeOffset? NextAttemptUtc { get; init; }
Property Value
RetryCount
The failed delivery attempts so far.
public int RetryCount { get; init; }
Property Value
Status
The outbox status.
public string Status { get; init; }