CloudQueue.DeleteIfExists(QueueRequestOptions, OperationContext) Methode

Definition

Löscht die Warteschlange, falls sie bereits vorhanden ist.

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

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

true, wenn die Warteschlange noch nicht vorhanden war und erstellt wurde; andernfalls false.

Attribute

Gilt für: