SALES: 1-800-867-1380
Expand Minimize

SubscriptionClient.EndPeek Method

Finishes an asynchronous peek operation.

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

'Declaration
Public Function EndPeek ( _
	result As IAsyncResult _
) As BrokeredMessage
'Usage
Dim instance As SubscriptionClient
Dim result As IAsyncResult
Dim returnValue As BrokeredMessage

returnValue = instance.EndPeek(result)

Parameters

result
Type: System.IAsyncResult
An IAsyncResult that represents the status of the asynchronous peek operation.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft