Udostępnij za pośrednictwem


IStorageBlobManagement.DoesContainerExistAsync Method

Definition

Overloads

DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified container exists.

DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)

DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified container exists.

public System.Threading.Tasks.Task<bool> DoesContainerExistAsync (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DoesContainerExistAsync : Microsoft.Azure.Storage.Blob.CloudBlobContainer * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesContainerExistAsync (container As CloudBlobContainer, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

container
CloudBlobContainer

CloudBlobContainer object

requestOptions
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cmdletCancellationToken
CancellationToken

Cancellation token

Returns

A task object that asynchronously check whether the specified container exists

Applies to

DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<bool> DoesContainerExistAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cmdletCancellationToken);
abstract member DoesContainerExistAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function DoesContainerExistAsync (container As CloudBlobContainer, requestOptions As BlobRequestOptions, operationContext As OperationContext, cmdletCancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

container
CloudBlobContainer
requestOptions
BlobRequestOptions
operationContext
OperationContext
cmdletCancellationToken
CancellationToken

Returns

Applies to