SALES: 1-800-867-1380
ReceiveBatchAsync Method (Int32)
Collapse the table of content
Expand the table of content

SubscriptionClient.ReceiveBatchAsync Method (Int32)


Asynchronously receives a set of messages (for batch processing).

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

Public Function ReceiveBatchAsync (
	messageCount As Integer
) As Task(Of IEnumerable(Of BrokeredMessage))


Type: System.Int32

The maximum number of messages to return in the batch.

Return Value

Type: System.Threading.Tasks.Task(Of IEnumerable(Of BrokeredMessage))

A task instance that represents the asynchronous receive batch operation.

Return to top
© 2016 Microsoft