Skip to content

IOutboxMessageSource.TryGetMessage(MessageId, OutboxMessage)

TryGetMessage(MessageId, OutboxMessage)

abstract
public abstract bool TryGetMessage(MessageId messageId, out OutboxMessage message)
Materializes a message for its send or a delivery attempt.

Parameters

messageIdMessageId
The ID of a reference entry.
messageOutboxMessage
When this method returns true, a valid message whose envelope's Envelope is messageId and whose receiver is another grain.

Returns

true when this source provides the message; false when the message isn't this source's.