Share via


StorageFileManagement.DeleteFileAsync Method

Definition

Overloads

DeleteFileAsync(CloudFile, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)
DeleteFileAsync(CloudFile, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

DeleteFileAsync(CloudFile, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task DeleteFileAsync (Microsoft.Azure.Storage.File.CloudFile file, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DeleteFileAsync : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteFileAsync : Microsoft.Azure.Storage.File.CloudFile * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteFileAsync (file As CloudFile, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

file
CloudFile
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Implements

Applies to

DeleteFileAsync(CloudFile, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task DeleteFileAsync (Microsoft.WindowsAzure.Storage.File.CloudFile file, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member DeleteFileAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteFileAsync : Microsoft.WindowsAzure.Storage.File.CloudFile * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteFileAsync (file As CloudFile, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

file
CloudFile
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Implements

Applies to