SALES: 1-800-867-1380

MessageReceiver.PeekAsync Method (Int64)

Asynchronously reads the next message without changing the state of the receiver or the message source.

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

public Task<BrokeredMessage> PeekAsync(
	long fromSequenceNumber
)

Parameters

fromSequenceNumber
Type: System.Int64
The sequence number from where to read the message.

Return Value

Type: System.Threading.Tasks.Task<BrokeredMessage>
The asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft