CloudQueue.CreateIfNotExists(QueueRequestOptions, OperationContext) Methode

Definition

Erstellt die Warteschlange, falls sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual bool CreateIfNotExists (Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
override this.CreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overridable Function CreateIfNotExists (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

Hinweise

Für diese API ist die Berechtigung Erstellen oder Schreiben erforderlich.

Gilt für: