Class SagaTimeoutHoldReceipt
- Namespace
- Excalibur.Saga.Abstractions
- Assembly
- Excalibur.Saga.dll
Detached source snapshot and opaque expected-state token; no dispatch lease is granted.
public sealed class SagaTimeoutHoldReceipt
- Inheritance
-
SagaTimeoutHoldReceipt
- Inherited Members
Constructors
SagaTimeoutHoldReceipt(SagaTimeoutHoldToken, SagaTimeoutHoldState, SagaTimeout, MessageFailureKind, string)
Initializes a detached provider receipt.
public SagaTimeoutHoldReceipt(SagaTimeoutHoldToken token, SagaTimeoutHoldState state, SagaTimeout timeout, MessageFailureKind kind, string reason)
Parameters
tokenSagaTimeoutHoldTokenThe opaque expected-state binding.
stateSagaTimeoutHoldStateThe observed disposition.
timeoutSagaTimeoutThe original source snapshot.
kindMessageFailureKindThe nonretryable classification.
reasonstringDiagnostic text of at most 1024 UTF-16 code units.
Properties
Kind
Gets the observed nonretryable classification.
public MessageFailureKind Kind { get; }
Property Value
Reason
Gets bounded diagnostic text, independent of the original payload.
public string Reason { get; }
Property Value
State
Gets the observed disposition; only Held certifies current exclusion.
public SagaTimeoutHoldState State { get; }
Property Value
Timeout
Gets a detached original source snapshot.
public SagaTimeout Timeout { get; }
Property Value
Token
Gets the opaque expected-state handle.
public SagaTimeoutHoldToken Token { get; }