Udostępnij za pośrednictwem


IStorageBlobManagement.DeleteCloudBlobAsync Method

Definition

Overloads

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified blob

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified blob

public System.Threading.Tasks.Task DeleteCloudBlobAsync (Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.Azure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DeleteCloudBlobAsync : Microsoft.Azure.Storage.Blob.CloudBlob * 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 Function DeleteCloudBlobAsync (blob As CloudBlob, deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

blob
CloudBlob

CloudBlob object

deleteSnapshotsOption
DeleteSnapshotsOption

Snapshot delete option

accessCondition
AccessCondition

Access condition

requestOptions
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cmdletCancellationToken
CancellationToken

Cancellation token

Returns

Return a task that asynchronously delete the specified blob

Applies to

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task DeleteCloudBlobAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlob blob, Microsoft.WindowsAzure.Storage.Blob.DeleteSnapshotsOption deleteSnapshotsOption, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DeleteCloudBlobAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlob * Microsoft.WindowsAzure.Storage.Blob.DeleteSnapshotsOption * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteCloudBlobAsync (blob As CloudBlob, deleteSnapshotsOption As DeleteSnapshotsOption, accessCondition As AccessCondition, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task

Parameters

blob
CloudBlob
deleteSnapshotsOption
DeleteSnapshotsOption
accessCondition
AccessCondition
requestOptions
BlobRequestOptions
operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Applies to