CloudBlobContainer.DeleteIfExistsAsync Methode

Definition

Überlädt

DeleteIfExistsAsync()

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

DeleteIfExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

DeleteIfExistsAsync(AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

DeleteIfExistsAsync(AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

DeleteIfExistsAsync()

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

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

Gibt zurück

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

Attribute

Gilt für:

DeleteIfExistsAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (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, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteIfExistsAsync(AccessCondition, BlobRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

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

Parameter

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<TResult>-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

DeleteIfExistsAsync(AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, der den Container löscht, sofern er bereits vorhanden ist.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<bool> DeleteIfExistsAsync (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 DeleteIfExistsAsync : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.DeleteIfExistsAsync : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function DeleteIfExistsAsync (accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameter

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<TResult>-Objekt, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: