SALES: 1-800-867-1380

QueueClient.PeekAsync Method (Int64)


Asynchronously returns without removing the first message in the queue.

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

public Task<BrokeredMessage> PeekAsync(
	long fromSequenceNumber


Type: System.Int64

The sequence number from where to peek a message.

Return Value

Type: System.Threading.Tasks.Task<BrokeredMessage>

The asynchronous operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2016 Microsoft