SALES: 1-800-867-1380
Expand Minimize

MessageReceiver.OnMessageAsync Method

Asynchronously processes a message in an event-driven message pump.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

member OnMessageAsync : 
        callback:Func<BrokeredMessage, Task> * 
        options:OnMessageOptions -> unit 

Parameters

callback
Type: System.Func(BrokeredMessage, Task)
The method to invoke when the operation is complete.
options
Type: Microsoft.ServiceBus.Messaging.OnMessageOptions
Specifies the OnMessageOptionsoptions with which to instantiate the message pump.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft