SALES: 1-800-867-1380

QueueClient.OnMessageAsync Method (Func<BrokeredMessage, Task>, OnMessageOptions)

Asynchronously processes a message.

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

public void OnMessageAsync(
	Func<BrokeredMessage, Task> callback,
	OnMessageOptions onMessageOptions
)

Parameters

callback
Type: System.Func<BrokeredMessage, Task>
The method to invoke when the operation is complete.
onMessageOptions
Type: Microsoft.ServiceBus.Messaging.OnMessageOptions
Calls a message option.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft