Table of Contents

Class PipelineOutboxEntry

Namespace
ReferenceApplication.Web.Governance.Pipeline
Assembly
ReferenceApplication.Web.dll

One audit-completion outbox entry and the lifecycle event its delivery produces.

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

Constructors

PipelineOutboxEntry(Guid, string, string, string, string?, string?, int, int, DateTimeOffset, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, string?, string, bool)

One audit-completion outbox entry and the lifecycle event its delivery produces.

public PipelineOutboxEntry(Guid Id, string Status, string Destination, string MutationBatchId, string? CorrelationId, string? DecisionAuditRecordId, int AuditRecordCount, int RetryCount, DateTimeOffset CreatedUtc, DateTimeOffset? LastAttemptUtc, DateTimeOffset? NextAttemptUtc, DateTimeOffset? DeliveredUtc, string? LastErrorCode, string? LastErrorMessage, string LifecycleEventId, bool LifecycleEventAppended)

Parameters

Id Guid

The entry identifier.

Status string

The delivery status.

Destination string

The delivery destination.

MutationBatchId string

The mutation batch the entry completes.

CorrelationId string

The originating request's correlation identifier.

DecisionAuditRecordId string

The governance decision the mutation was made under.

AuditRecordCount int

The mutation-audit records in the batch.

RetryCount int

The failed delivery attempts so far.

CreatedUtc DateTimeOffset

When the entry was staged.

LastAttemptUtc DateTimeOffset?

When delivery was last attempted.

NextAttemptUtc DateTimeOffset?

When delivery will next be attempted.

DeliveredUtc DateTimeOffset?

When the entry was delivered.

LastErrorCode string

The last delivery error code.

LastErrorMessage string

The last delivery error message.

LifecycleEventId string

The identifier of the lifecycle event delivery appends.

LifecycleEventAppended bool

Whether that lifecycle event is in the lifecycle table.

Properties

AuditRecordCount

The mutation-audit records in the batch.

public int AuditRecordCount { get; init; }

Property Value

int

CorrelationId

The originating request's correlation identifier.

public string? CorrelationId { get; init; }

Property Value

string

CreatedUtc

When the entry was staged.

public DateTimeOffset CreatedUtc { get; init; }

Property Value

DateTimeOffset

DecisionAuditRecordId

The governance decision the mutation was made under.

public string? DecisionAuditRecordId { get; init; }

Property Value

string

DeliveredUtc

When the entry was delivered.

public DateTimeOffset? DeliveredUtc { get; init; }

Property Value

DateTimeOffset?

Destination

The delivery destination.

public string Destination { get; init; }

Property Value

string

Id

The entry identifier.

public Guid Id { get; init; }

Property Value

Guid

LastAttemptUtc

When delivery was last attempted.

public DateTimeOffset? LastAttemptUtc { get; init; }

Property Value

DateTimeOffset?

LastErrorCode

The last delivery error code.

public string? LastErrorCode { get; init; }

Property Value

string

LastErrorMessage

The last delivery error message.

public string? LastErrorMessage { get; init; }

Property Value

string

LifecycleEventAppended

Whether that lifecycle event is in the lifecycle table.

public bool LifecycleEventAppended { get; init; }

Property Value

bool

LifecycleEventId

The identifier of the lifecycle event delivery appends.

public string LifecycleEventId { get; init; }

Property Value

string

MutationBatchId

The mutation batch the entry completes.

public string MutationBatchId { get; init; }

Property Value

string

NextAttemptUtc

When delivery will next be 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 delivery status.

public string Status { get; init; }

Property Value

string