SALES: 1-800-867-1380

SubscriptionClient.PeekBatch Method (Int64, Int32)

Returns without removing the first messages in a batch.

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

public final function PeekBatch(
	fromSequenceNumber : long, 
	messageCount : int
) : IEnumerable<BrokeredMessage>

Parameters

fromSequenceNumber
Type: System.Int64
The starting point from which to browse a message.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft