Table of Contents

Class SagaTransitionCommitResult

Namespace
Excalibur.Dispatch.Messaging
Assembly
Excalibur.Dispatch.Abstractions.dll

Reports a durable transition result without treating a missing acknowledgement as rollback.

public sealed record SagaTransitionCommitResult : IEquatable<SagaTransitionCommitResult>
Inheritance
SagaTransitionCommitResult
Implements
Inherited Members
Extension Methods

Constructors

SagaTransitionCommitResult(SagaTransitionCommitOutcome, long?)

Reports a durable transition result without treating a missing acknowledgement as rollback.

public SagaTransitionCommitResult(SagaTransitionCommitOutcome Outcome, long? CommittedVersion)

Parameters

Outcome SagaTransitionCommitOutcome

The authoritative outcome, or Unknown.

CommittedVersion long?

The committed version only when positively established.

Properties

CommittedVersion

The committed version only when positively established.

public long? CommittedVersion { get; init; }

Property Value

long?

Failure

Gets the original operation failure when an uncertain commit could not be resolved.

public Exception? Failure { get; init; }

Property Value

Exception

Remarks

This diagnostic is never persisted as part of the transition receipt or treated as a successful commit.

Outcome

The authoritative outcome, or Unknown.

public SagaTransitionCommitOutcome Outcome { get; init; }

Property Value

SagaTransitionCommitOutcome