C#C++F#VB
CloudQueue.::..SetPermissionsAsync Method (QueuePermissions, CancellationToken)(QueuePermissions^, CancellationToken)(QueuePermissions, CancellationToken)(QueuePermissions, CancellationToken)
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, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetPermissionsAsync( QueuePermissions^ permissions, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract SetPermissionsAsync : permissions:QueuePermissions * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override SetPermissionsAsync : permissions:QueuePermissions * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetPermissionsAsync ( permissions As QueuePermissions, cancellationToken As CancellationToken ) 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.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.