Table of Contents

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

Status string

The outbox status.

RetryCount int

The failed delivery attempts so far.

MaxRetryAttempts int

The failed attempts the outbox allows before it dead-letters the entry.

LastAttemptUtc DateTimeOffset?

When delivery was last attempted.

NextAttemptUtc DateTimeOffset?

When delivery is next attempted.

DeliveredUtc DateTimeOffset?

When the entry was delivered.

LastErrorCode string

The error code of the last failed attempt.

LastErrorMessage string

The error message of the last failed attempt.

LifecycleEventAppended bool

Whether the lifecycle event the delivery appends exists.

Properties

DeliveredUtc

When the entry was delivered.

public DateTimeOffset? DeliveredUtc { get; init; }

Property Value

DateTimeOffset?

LastAttemptUtc

When delivery was last attempted.

public DateTimeOffset? LastAttemptUtc { get; init; }

Property Value

DateTimeOffset?

LastErrorCode

The error code of the last failed attempt.

public string? LastErrorCode { get; init; }

Property Value

string

LastErrorMessage

The error message of the last failed attempt.

public string? LastErrorMessage { get; init; }

Property Value

string

LifecycleEventAppended

Whether the lifecycle event the delivery appends exists.

public bool LifecycleEventAppended { get; init; }

Property Value

bool

MaxRetryAttempts

The failed attempts the outbox allows before it dead-letters the entry.

public int MaxRetryAttempts { get; init; }

Property Value

int

NextAttemptUtc

When delivery is next attempted.

public DateTimeOffset? NextAttemptUtc { get; init; }

Property Value

DateTimeOffset?

RetryCount

The failed delivery attempts so far.

public int RetryCount { get; init; }

Property Value

int

Status

The outbox status.

public string Status { get; init; }

Property Value

string