Peek Method
Collapse the table of content
Expand the table of content

QueueClient.Peek Method ()

 

Returns without removing the first message in the queue.

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

public BrokeredMessage Peek()

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage

A brokered message. Returns all properties and the message body.

Return to top
Show:
© 2016 Microsoft