CloudQueue.GetMessage(Nullable<TimeSpan>, QueueRequestOptions, OperationContext) CloudQueue.GetMessage(Nullable<TimeSpan>, QueueRequestOptions, OperationContext) Method

Definition

Gets a message from the queue using the default request options. This operation marks the retrieved message as invisible in the queue for the default visibility timeout period.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage GetMessage (Nullable<TimeSpan> visibilityTimeout = null, Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member GetMessage : Nullable<TimeSpan> * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage
override this.GetMessage : Nullable<TimeSpan> * Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage
Parameters
visibilityTimeout
Nullable<TimeSpan>

A TimeSpan specifying the visibility timeout interval.

options
QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

Applies to