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)

'Declaration
Public Function Peek As BrokeredMessage
'Usage
Dim instance As SubscriptionClient
Dim returnValue As BrokeredMessage

returnValue = instance.Peek()

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