CloudBlob.DeleteAsync Methode

Definition

Überlädt

DeleteAsync()

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

DeleteAsync(CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

DeleteAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

DeleteAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

DeleteAsync()

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteAsync(CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

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

Parameter

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.DeleteAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function DeleteAsync (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task

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.

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteAsync(DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang zum Löschen des Blobs.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task DeleteAsync (Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAsync : Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteAsync (deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

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.

cancellationToken
CancellationToken

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

Gibt zurück

Ein Task-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: