CloudQueue.CreateIfNotExists(QueueRequestOptions, OperationContext) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für