SubscriptionClient.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 Function PeekAsync (
	fromSequenceNumber As Long
) As Task(Of BrokeredMessage)

Parameters

fromSequenceNumber
Type: System.Int64

The starting point from which to browse a message.

Return Value

Type: System.Threading.Tasks.Task(Of BrokeredMessage)

A task instance that represents the asynchronous peek operation.

Return to top
Show: