Skip to content

IOutboxMessageSource.OnRetired(MessageId, OutboxMessageRetirement)

OnRetired(MessageId, OutboxMessageRetirement)

abstract
public abstract void OnRetired(MessageId messageId, OutboxMessageRetirement retirement)
Notifies the source that the outbox is staging a message's retirement, so the source can release its payload.

Parameters

messageIdMessageId
The ID of the retired reference entry.
retirementOutboxMessageRetirement
How the message retired, and the dead letter's reason for a dead-lettered message.