CloudBlobContainer.CreateAsync CloudBlobContainer.CreateAsync CloudBlobContainer.CreateAsync CloudBlobContainer.CreateAsync Method

Definition

Overloads

CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that creates a container.

CreateAsync() CreateAsync() CreateAsync() CreateAsync()

Initiates an asynchronous operation that creates a container.

CreateAsync(CancellationToken) CreateAsync(CancellationToken) CreateAsync(CancellationToken)

Initiates an asynchronous operation that creates a container.

CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that creates a container and specifies the level of access to the container's data.

CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that creates a container.

public:
 virtual System::Threading::Tasks::Task ^ CreateAsync(Microsoft::WindowsAzure::Storage::Blob::BlobContainerPublicAccessType accessType, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member CreateAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task
Parameters
accessType
BlobContainerPublicAccessType BlobContainerPublicAccessType BlobContainerPublicAccessType BlobContainerPublicAccessType

An BlobContainerPublicAccessType object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task object that represents the asynchronous operation.

CreateAsync() CreateAsync() CreateAsync() CreateAsync()

Initiates an asynchronous operation that creates a container.

public:
 virtual System::Threading::Tasks::Task ^ CreateAsync();
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync ();
abstract member CreateAsync : unit -> System.Threading.Tasks.Task
override this.CreateAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function CreateAsync () As Task
Returns

A Task object that represents the asynchronous operation.

CreateAsync(CancellationToken) CreateAsync(CancellationToken) CreateAsync(CancellationToken)

Initiates an asynchronous operation that creates a container.

public:
 virtual System::Threading::Tasks::Task ^ CreateAsync(System::Threading::CancellationToken cancellationToken);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
cancellationToken
CancellationToken CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken) CreateAsync(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that creates a container and specifies the level of access to the container's data.

public:
 virtual System::Threading::Tasks::Task ^ CreateAsync(Microsoft::WindowsAzure::Storage::Blob::BlobContainerPublicAccessType accessType, Microsoft::WindowsAzure::Storage::Blob::BlobRequestOptions ^ options, Microsoft::WindowsAzure::Storage::OperationContext ^ operationContext, System::Threading::CancellationToken cancellationToken);
[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task CreateAsync (Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateAsync : Microsoft.WindowsAzure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
accessType
BlobContainerPublicAccessType BlobContainerPublicAccessType BlobContainerPublicAccessType BlobContainerPublicAccessType

An BlobContainerPublicAccessType object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed.

options
BlobRequestOptions BlobRequestOptions BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken CancellationToken CancellationToken CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Applies to