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 Task<BrokeredMessage> PeekAsync()

Return Value

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

The asynchronous operation.

Return to top
Show: