SubscriptionClient.PeekBatch Method (Int32)

 

Returns without removing the first messages in a batch.

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

public IEnumerable<BrokeredMessage> PeekBatch(
	int messageCount
)

Parameters

messageCount
Type: System.Int32

The number of messages in a batch.

Return Value

Type: System.Collections.Generic.IEnumerable<BrokeredMessage>

The collection of first messages in a batch.

Return to top
Show: