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)

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

returnValue = instance.EndPeekBatch(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

© 2014 Microsoft