CloudQueue.EndPeekMessages(IAsyncResult) Method

Definition

Ends an asynchronous operation to peek messages from the queue.

public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Queue.CloudQueueMessage> EndPeekMessages (IAsyncResult asyncResult);
abstract member EndPeekMessages : IAsyncResult -> seq<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
override this.EndPeekMessages : IAsyncResult -> seq<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
Public Overridable Function EndPeekMessages (asyncResult As IAsyncResult) As IEnumerable(Of CloudQueueMessage)

Parameters

asyncResult
IAsyncResult

An IAsyncResult that references the pending asynchronous operation.

Returns

IEnumerable<CloudQueueMessage>

An enumerable collection of CloudQueueMessage objects.

Applies to