MessageHandler MH Sign Up

IHandlerContext SendAsync Method

S

Definition

Package: MessageHandler.Runtime.AtomicProcessing.Receiving
Assembly: MessageHandler.Runtime.AtomicProcessing.Receiving
Namespace: MessageHandler.Runtime.AtomicProcessing
Class: IHandlerContext

Overloads

Method Description
SendAsync(object) Send a message in context of the received message
SendAsync(object, IDictionary<string,string>) Send a message in context of the received message
SendAsync(IEnumerable) Send messages in context of the received message
SendAsync(IEnumerable, IDictionary<string,string>) Send messages in context of the received message

SendAsync(object)

Send a message in context of the received message

Parameters

message: System.Object
The message to send

Returns

System.Threading.Tasks.Task

SendAsync(object, IDictionary<string,string>)

Send a message in context of the received message

Parameters

message: System.Object
The message to send
headers: System.Collections.Generic.IDictionary
The headers to add to this message

Returns

System.Threading.Tasks.Task

SendAsync(IEnumerable)

Send messages in context of the received message

Parameters

messages: System.Collections.Generic.IEnumerable
The messages to send

Returns

System.Threading.Tasks.Task

SendAsync(IEnumerable, IDictionary<string,string>)

Send messages in context of the received message

Parameters

messages: System.Collections.Generic.IEnumerable
The messages to send
headers: System.Collections.Generic.IDictionary
The headers to add to this message

Returns

System.Threading.Tasks.Task

Sign up to our newsletter to get notified about new content and releases

You can unsubscribe at any time by clicking the link in the footer of your emails. I use Mailchimp as my marketing platform. By clicking subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.