Share via


StorageBlobManagement.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 cancellationToken);
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>
override this.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, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

container
CloudBlobContainer

CloudBlobContainer object

requestOptions
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cancellationToken
CancellationToken

Cancellation token

Returns

A task object that asynchronously check whether the specified container exists

Implements

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 cancellationToken);
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>
override this.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, cancellationToken As CancellationToken) As Task(Of Boolean)

Parameters

container
CloudBlobContainer
requestOptions
BlobRequestOptions
OperationContext
OperationContext
cancellationToken
CancellationToken

Returns

Implements

Applies to