Skip to content

IOutbox.Send(MessageId)

Send(MessageId)

abstract
public abstract void Send(MessageId messageId)
Synchronously stages, for the grain's next journal write, a message which a registered IOutboxMessageSource provides.

Parameters

messageIdMessageId
The message ID, which a registered source provides.

Exceptions

System.ArgumentException
The ID is unset or too long, or the source's message is invalid or addressed to the sending grain.
System.InvalidOperationException
The ID is pending as an ordinary message, no registered source provides it, the source returned a different ID, or the outbox is unavailable.