CloudBlobContainer.BeginCreate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginCreate(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to create a container and specify the level of access to the container's data. |
BeginCreate(AsyncCallback, Object) |
Begins an asynchronous operation to create a container. |
BeginCreate(BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to create a container. |
BeginCreate(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous operation to create a container and specify the level of access to the container's data. |
BeginCreate(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to create a container and specify the level of access to the container's data.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions encryptionScopeOptions, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobContainerEncryptionScopeOptions * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (accessType As BlobContainerPublicAccessType, encryptionScopeOptions As BlobContainerEncryptionScopeOptions, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
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.
- encryptionScopeOptions
- BlobContainerEncryptionScopeOptions
An BlobContainerEncryptionScopeOptions object that specifies encryption scope options to set for this container.
- options
- BlobRequestOptions
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginCreate(AsyncCallback, Object)
Begins an asynchronous operation to create a container.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginCreate(BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to create a container.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
Parameters
- options
- BlobRequestOptions
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes
Applies to
BeginCreate(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous operation to create a container and specify the level of access to the container's data.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreate (Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType accessType, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreate : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreate : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreate (accessType As BlobContainerPublicAccessType, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult
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.
- options
- BlobRequestOptions
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- callback
- AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
- Object
A user-defined object that will be passed to the callback delegate.
Returns
An ICancellableAsyncResult that references the asynchronous operation.
- Attributes