CloudQueue.BeginCreateIfNotExists Methode

Definition

Überlädt

BeginCreateIfNotExists(AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Erstellen der Warteschlange, sofern sie noch nicht vorhanden ist.

BeginCreateIfNotExists(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Erstellen der Warteschlange, sofern sie noch nicht vorhanden ist.

BeginCreateIfNotExists(AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Erstellen der Warteschlange, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

callback
AsyncCallback

Ein AsyncCallback Delegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegat übergeben wird.

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Hinweise

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

Gilt für:

BeginCreateIfNotExists(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Erstellen der Warteschlange, sofern sie noch nicht vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

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.

callback
AsyncCallback

Ein AsyncCallback Delegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegat übergeben wird.

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Hinweise

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

Gilt für: