Export (0) Print
Expand All

QueueClient.PeekAsync Method

Asynchronously returns without removing the first message in the queue.

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

'Declaration
Public Function PeekAsync As Task(Of BrokeredMessage)
'Usage
Dim instance As QueueClient
Dim returnValue As Task(Of BrokeredMessage)

returnValue = instance.PeekAsync()

Return Value

Type: System.Threading.Tasks.Task(Of BrokeredMessage)
The asynchronous operation.

Community Additions

ADD
Show:
© 2014 Microsoft