Export (0) Print
Expand All

QueueClient.PeekBatch Method (Int64, Int32)

Peeks a batch of messages.

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

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

Parameters

fromSequenceNumber
Type: System.Int64
The starting point from which to browse a batch of messages.
messageCount
Type: System.Int32
The number of messages.

Return Value

Type: System.Collections.Generic.IEnumerable<BrokeredMessage>
A batch of messages peeked.

Community Additions

ADD
Show:
© 2014 Microsoft