SALES: 1-800-867-1380

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)

member PeekBatchAsync : 
        fromSequenceNumber:int64 * 
        messageCount:int -> Task<IEnumerable<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(IEnumerable(BrokeredMessage))
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft