SALES: 1-800-867-1380
Expand Minimize

SubscriptionClient.EndPeekBatch Method

Finishes an asynchronous peek operation on a batch of messages.

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

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

returnValue = instance.EndPeekBatch(result)

Parameters

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

Return Value

Type: System.Collections.Generic.IEnumerable(Of BrokeredMessage)
The collection of first messages in the batch.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft