Export (0) Print
Expand All

SubscriptionClient.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 asynchronous method to invoke when the operation is complete.
onMessageOptions
Type: Microsoft.ServiceBus.Messaging.OnMessageOptions
The options associated with the message.

Community Additions

ADD
Show:
© 2014 Microsoft