SALES: 1-800-867-1380

SubscriptionClient.Peek Method

Returns without removing the first message in the queue.

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

abstract Peek : unit -> BrokeredMessage 
override Peek : unit -> BrokeredMessage 

Return Value

Type: Microsoft.ServiceBus.Messaging.BrokeredMessage
The returned message.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft