Skip to content

OutboxExtensions.SendReply(IOutbox, MessageType<T>, IInboxHandlerContext, IAddressable, T)

SendReply(IOutbox, MessageType<T>, IInboxHandlerContext, IAddressable, T)

staticextension
View source
public static void SendReply<T>(this IOutbox outbox, MessageType<T> messageType, IInboxHandlerContext context, IAddressable destination, T body)
Encodes and stages a deterministic result reply to a grain reference.

Parameters

outboxIOutbox
The replying grain's outbox.
messageTypeMessageType<T>
The reply subject and serializer binding.
contextIInboxHandlerContext
The current received message and completion context.
destinationIAddressable
The application-selected replying grain reference.
bodyT
The reply body.