Table of Contents

Class OutboxStatus

Namespace
Xapi.Client.Outbox
Assembly
Xapi.Client.Outbox.dll

A snapshot of an outbox: what it is doing, how much is waiting, and the last error.

public sealed record OutboxStatus : IEquatable<OutboxStatus>
Inheritance
OutboxStatus
Implements
Inherited Members

Properties

ConsecutiveFailures

The number of sends in a row that failed with a transient error. Reset by a successful send.

public int ConsecutiveFailures { get; init; }

Property Value

int

DeadLetterCount

The number of dead letters.

public int DeadLetterCount { get; init; }

Property Value

int

LastError

The error that made the last send fail or the outbox pause, or null when the last send succeeded.

public string? LastError { get; init; }

Property Value

string

PendingCount

The number of Statements waiting to be delivered.

public int PendingCount { get; init; }

Property Value

int

RetryAt

When the background loop sends again, while State is WaitingToRetry.

public DateTimeOffset? RetryAt { get; init; }

Property Value

DateTimeOffset?

State

What the outbox is doing.

public OutboxState State { get; init; }

Property Value

OutboxState