CloudQueue.Clear(QueueRequestOptions, OperationContext) CloudQueue.Clear(QueueRequestOptions, OperationContext) Method

Definition

Clears all messages from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual void Clear (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member Clear : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit
override this.Clear : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> unit

Parameters

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.

Applies to