Azure CloudBlobContainer CreateIfNotExists Method

Download Azure Cloud Connect Setup File
Download Azure Cloud Connect Zip File

Creates the container.

[Microsoft.Azure.Storage.DoesServiceRequest]  
public virtual bool CreateIfNotExists 
(Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, 
Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions = default, 
Microsoft.Azure.Storage.OperationContext operationContext = default);

Parameters

accessType
BlobContainerPublicAccessType

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

requestOptions
BlobRequestOptions

BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

Attributes