Compartilhar via


CloudQueue.Clear(QueueRequestOptions, OperationContext) Método

Definição

Limpa todas as mensagens da fila.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void Clear (Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member Clear : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.Clear : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub Clear (Optional options As QueueRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parâmetros

options
QueueRequestOptions

Um objeto QueueRequestOptions que especifica opções adicionais para a solicitação. Se null, as opções padrão serão aplicadas à solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

Atributos

Aplica-se a