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)

Public Function PeekAsync As Task(Of BrokeredMessage)
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

© 2014 Microsoft