SALES: 1-800-867-1380

SubscriptionClient.PeekBatchAsync Method (Int32)

Asynchronously returns without removing the first messages in a batch.

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

public Task<IEnumerable<BrokeredMessage>> PeekBatchAsync(
	int messageCount
)

Parameters

messageCount
Type: System.Int32
The number of messages in a batch.

Return Value

Type: System.Threading.Tasks.Task<IEnumerable<BrokeredMessage>>
A task instance that represents the asynchronous peek batch operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft