Export (0) Print
Expand All

MessageReceiver.PeekBatch Method (Int64, Int32)

Reads the next batch of message without changing the state of the receiver or the message source.

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 sequence number from where to read a batch message.
messageCount
Type: System.Int32
The number of message.

Return Value

Type: System.Collections.Generic.IEnumerable<BrokeredMessage>
The batch of message to be read.

Community Additions

ADD
Show:
© 2014 Microsoft