C#C++F#VB
CloudQueue.::..SetPermissionsAsync Method (QueuePermissions, QueueRequestOptions, OperationContext)(QueuePermissions^, QueueRequestOptions^, OperationContext^)(QueuePermissions, QueueRequestOptions, OperationContext)(QueuePermissions, QueueRequestOptions, OperationContext)
Initiates an asynchronous operation to set permissions for the queue.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task SetPermissionsAsync( QueuePermissions permissions, QueueRequestOptions options, OperationContext operationContext )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetPermissionsAsync( QueuePermissions^ permissions, QueueRequestOptions^ options, OperationContext^ operationContext )
[<DoesServiceRequestAttribute>] abstract SetPermissionsAsync : permissions:QueuePermissions * options:QueueRequestOptions * operationContext:OperationContext -> Task [<DoesServiceRequestAttribute>] override SetPermissionsAsync : permissions:QueuePermissions * options:QueueRequestOptions * operationContext:OperationContext -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetPermissionsAsync ( permissions As QueuePermissions, options As QueueRequestOptions, operationContext As OperationContext ) As Task
Parameters
- permissions
-
Type:
Microsoft.WindowsAzure.Storage.Queue.Protocol.QueuePermissionsMicrosoft.WindowsAzure.Storage.Queue.Protocol::QueuePermissions^Microsoft.WindowsAzure.Storage.Queue.Protocol.QueuePermissionsMicrosoft.WindowsAzure.Storage.Queue.Protocol.QueuePermissions
A QueuePermissions object.
- options
-
Type:
Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue::QueueRequestOptions^Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue.QueueRequestOptions
A QueueRequestOptions object that specifies additional options for the request.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.