Enum InboxLeaseDisposition
What the inbox deduplication stage did with a dispatch, reported back to the caller that owns finalization of the corresponding inbox entry.
public enum InboxLeaseDisposition
- Extension Methods
Fields
Admitted = 1The stage admitted the invocation and the handler ran. The entry is safe to finalize.
Declined = 2A live lease on the entry is held elsewhere, so the stage did not run the handler. The entry MUST NOT be finalized on this dispatch; the holder of the live lease finalizes it.
NotEvaluated = 0The inbox stage did not evaluate this dispatch — it is absent from the pipeline, or the dispatch did not reach it. Carries no information about whether a handler ran.
Remarks
A caller that finalizes an entry — marks it processed, or records its external identifier as deduplicated — MUST first confirm the stage reported Admitted. Treating Declined as a completion records a handler invocation that never happened, and because the external identifier is then remembered as already handled, a later redelivery of the same message is finalized without reaching a handler either: the message becomes unrecoverable by retry rather than merely lost once.