C#
C++
F#
VB
CloudBlobContainer.::..BeginSetPermissions Method (BlobContainerPermissions, AsyncCallback, Object)(BlobContainerPermissions^, AsyncCallback^, Object^)(BlobContainerPermissions, AsyncCallback, Object)(BlobContainerPermissions, AsyncCallback, Object)
Begins an asynchronous request to set permissions for the container.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual ICancellableAsyncResult BeginSetPermissions( BlobContainerPermissions permissions, AsyncCallback callback, object state )
C++
public: [DoesServiceRequestAttribute] virtual ICancellableAsyncResult^ BeginSetPermissions( BlobContainerPermissions^ permissions, AsyncCallback^ callback, Object^ state )
[<DoesServiceRequestAttribute>] abstract BeginSetPermissions : permissions:BlobContainerPermissions * callback:AsyncCallback * state:Object -> ICancellableAsyncResult [<DoesServiceRequestAttribute>] override BeginSetPermissions : permissions:BlobContainerPermissions * callback:AsyncCallback * state:Object -> ICancellableAsyncResult
<DoesServiceRequestAttribute> Public Overridable Function BeginSetPermissions ( permissions As BlobContainerPermissions, callback As AsyncCallback, state As Object ) As ICancellableAsyncResult
Parameters
- permissions
-
Type:
Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissionsMicrosoft.WindowsAzure.Storage.Blob::BlobContainerPermissions^Microsoft.WindowsAzure.Storage.Blob.BlobContainerPermissionsMicrosoft.WindowsAzure.Storage.Blob.BlobContainerPermissions
The permissions to apply to the container.
- callback
-
Type:
System.AsyncCallbackSystem::AsyncCallback^System.AsyncCallbackSystem.AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
-
Type:
System.ObjectSystem::Object^System.ObjectSystem.Object
A user-defined object that will be passed to the callback delegate.
Return Value
Type: Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage::ICancellableAsyncResult^Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage.ICancellableAsyncResultAn ICancellableAsyncResult that references the asynchronous operation.
See Also
BeginSetPermissions Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace