MessageReceiver.PeekBatchAsync Method (Int64, Int32)

 

Asynchronously reads the next batch of message without changing the state of the receiver or the message source.

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

Public Function PeekBatchAsync (
	fromSequenceNumber As Long,
	messageCount As Integer
) As Task(Of IEnumerable(Of BrokeredMessage))

Parameters

fromSequenceNumber
Type: System.Int64

The sequence number from where to read a batch message.

messageCount
Type: System.Int32

The number of message.

Return Value

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

The asynchronous operation.

Return to top
Show: