CloudBlobContainer.BeginCreateIfNotExists 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
BeginCreateIfNotExists(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous request to create the container if it does not already exist. |
BeginCreateIfNotExists(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous request to create the container if it does not already exist. |
BeginCreateIfNotExists(AsyncCallback, Object) |
Begins an asynchronous request to create the container if it does not already exist. |
BeginCreateIfNotExists(BlobRequestOptions, OperationContext, AsyncCallback, Object) |
Begins an asynchronous request to create the container if it does not already exist. |
BeginCreateIfNotExists(BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous request to create the container if it does not already exist.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (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 BeginCreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobContainerPublicAccessType * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (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 the level of access.
- 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
Remarks
This API requires Create or Write permissions.
Applies to
BeginCreateIfNotExists(BlobContainerPublicAccessType, BlobContainerEncryptionScopeOptions, BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous request to create the container if it does not already exist.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (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 BeginCreateIfNotExists : 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.BeginCreateIfNotExists : 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 BeginCreateIfNotExists (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 the level of access.
- 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
Remarks
This API requires Create or Write permissions.
Applies to
BeginCreateIfNotExists(AsyncCallback, Object)
Begins an asynchronous request to create the container if it does not already exist.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (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
Remarks
This API requires Create or Write permissions.
Applies to
BeginCreateIfNotExists(BlobRequestOptions, OperationContext, AsyncCallback, Object)
Begins an asynchronous request to create the container if it does not already exist.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginCreateIfNotExists (Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginCreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginCreateIfNotExists : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginCreateIfNotExists (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
Remarks
This API requires Create or Write permissions.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기