CloudBlobContainer.create Method

Definition

Overloads

create()

Creates the container.

create(BlobContainerPublicAccessType accessType, BlobRequestOptions options, OperationContext opContext)

Creates the container using the specified options and operation context.

create(BlobRequestOptions options, OperationContext opContext)

Creates the container using the specified options and operation context.

create()

Creates the container.

public void create()
Exceptions

If a storage service error occurred.

create(BlobContainerPublicAccessType accessType, BlobRequestOptions options, OperationContext opContext)

Creates the container using the specified options and operation context.

public void create(BlobContainerPublicAccessType accessType, BlobRequestOptions options, OperationContext opContext)
Parameters
accessType
BlobContainerPublicAccessType

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

options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
OperationContext

An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Exceptions

If a storage service error occurred.

create(BlobRequestOptions options, OperationContext opContext)

Creates the container using the specified options and operation context.

public void create(BlobRequestOptions options, OperationContext opContext)
Parameters
options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
OperationContext

An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Exceptions

If a storage service error occurred.