SALES: 1-800-867-1380

QueueClient.PeekBatchAsync Method (Int64, Int32)

Asynchronously peeks a batch of message.

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

public Task<IEnumerable<BrokeredMessage>> PeekBatchAsync(
	long fromSequenceNumber,
	int messageCount
)

Parameters

fromSequenceNumber
Type: System.Int64
The sequence number from where to peek a batch of 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:
© 2014 Microsoft