CloudBlob.BeginDeleteIfExists Methode

Definition

Überlädt

BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet eine asynchrone Anforderung zum Löschen des Blobs, wenn es bereits vorhanden ist.

BeginDeleteIfExists(AsyncCallback, Object)

Startet eine asynchrone Anforderung zum Löschen des Blobs, wenn es bereits vorhanden ist.

BeginDeleteIfExists(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Startet eine asynchrone Anforderung zum Löschen des Blobs, wenn es bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginDeleteIfExists (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginDeleteIfExists : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginDeleteIfExists : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginDeleteIfExists (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

deleteSnapshotsOption
DeleteSnapshotsOption

Ein DeleteSnapshotsOption Objekt, das angibt, ob nur das Blob gelöscht werden soll, ob das Blob und alle Momentaufnahmen gelöscht oder nur die Momentaufnahmen gelöscht werden sollen.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann. Wenn null, wird keine Bedingung verwendet.

options
BlobRequestOptions

Ein BlobRequestOptions-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:

BeginDeleteIfExists(AsyncCallback, Object)

Startet eine asynchrone Anforderung zum Löschen des Blobs, wenn es bereits vorhanden ist.

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