Freigeben über


CloudQueue.CreateIfNotExistsAsync Methode

Definition

Überlädt

CreateIfNotExistsAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

CreateIfNotExistsAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

CreateIfNotExistsAsync()

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

CreateIfNotExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

CreateIfNotExistsAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

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

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

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

Gilt für:

CreateIfNotExistsAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (options As QueueRequestOptions, operationContext As OperationContext) As Task(Of Boolean)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

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

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

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

Gilt für:

CreateIfNotExistsAsync()

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : unit -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : unit -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync () As Task(Of Boolean)

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

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

Gilt für:

CreateIfNotExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um die Warteschlange zu erstellen, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> CreateIfNotExistsAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.CreateIfNotExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function CreateIfNotExistsAsync (cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ bool, das den asynchronen Vorgang darstellt.

Attribute

Hinweise

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

Gilt für: