C#C++F#VB
Initiates an asynchronous operation to get a single message from the queue.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: [DoesServiceRequestAttribute] virtual Task<CloudQueueMessage^>^ PeekMessageAsync()
[<DoesServiceRequestAttribute>] abstract PeekMessageAsync : unit -> Task<CloudQueueMessage> [<DoesServiceRequestAttribute>] override PeekMessageAsync : unit -> Task<CloudQueueMessage>
<DoesServiceRequestAttribute> Public Overridable Function PeekMessageAsync As Task(Of CloudQueueMessage)
Return Value
Type: System.Threading.Tasks.Task<CloudQueueMessage>System.Threading.Tasks::Task<CloudQueueMessage^>^System.Threading.Tasks.Task<CloudQueueMessage>System.Threading.Tasks.Task(Of CloudQueueMessage)A Task<TResult><TResult><'TResult>(Of TResult) object of type CloudQueueMessage that represents the asynchronous operation.