CloudQueue.BeginClear Methode

Definition

Überlädt

BeginClear(AsyncCallback, Object)

Startet einen asynchronen Vorgang, um alle Nachrichten aus der Warteschlange zu löschen.

BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um alle Nachrichten aus der Warteschlange zu löschen.

BeginClear(AsyncCallback, Object)

Startet einen asynchronen Vorgang, um alle Nachrichten aus der Warteschlange zu löschen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginClear (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginClear : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginClear : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginClear (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

Gilt für:

BeginClear(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um alle Nachrichten aus der Warteschlange zu löschen.

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

Gilt für: