Table of Contents

Class SagaTimeoutHoldAttempt

Namespace
Excalibur.Saga.Abstractions
Assembly
Excalibur.Saga.dll

Conditional hold outcome with an optional truthful receipt; no payload is fabricated.

public sealed class SagaTimeoutHoldAttempt
Inheritance
SagaTimeoutHoldAttempt
Inherited Members

Constructors

SagaTimeoutHoldAttempt(SagaTimeoutHoldOutcome, SagaTimeoutHoldReceipt?)

Initializes a validated conditional hold result.

public SagaTimeoutHoldAttempt(SagaTimeoutHoldOutcome outcome, SagaTimeoutHoldReceipt? receipt = null)

Parameters

outcome SagaTimeoutHoldOutcome

The provider-certified result.

receipt SagaTimeoutHoldReceipt

Required current Held receipt for Held; optional non-Held receipt for ended observation.

Properties

Outcome

Gets the provider-certified result; only Held or ObservationEnded resolves local pending observation.

public SagaTimeoutHoldOutcome Outcome { get; }

Property Value

SagaTimeoutHoldOutcome

Receipt

Gets the real current/historical receipt when supplied, otherwise null.

public SagaTimeoutHoldReceipt? Receipt { get; }

Property Value

SagaTimeoutHoldReceipt