SALES: 1-800-867-1380

QueueClient.ReceiveBatchAsync Method (IEnumerable(Of Int64))

Asynchronously receives a message batch.

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

'Declaration
Public Function ReceiveBatchAsync ( _
	sequenceNumbers As IEnumerable(Of Long) _
) As Task(Of IEnumerable(Of BrokeredMessage))
'Usage
Dim instance As QueueClient
Dim sequenceNumbers As IEnumerable(Of Long)
Dim returnValue As Task(Of IEnumerable(Of BrokeredMessage))

returnValue = instance.ReceiveBatchAsync(sequenceNumbers)

Parameters

sequenceNumbers
Type: System.Collections.Generic.IEnumerable(Of Int64)
The sequence numbers associated with the messages in the batch.

Return Value

Type: System.Threading.Tasks.Task(Of IEnumerable(Of BrokeredMessage))
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft