C#C++F#VB
CloudQueue.::..GetPermissionsAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation to get the permissions settings for the queue.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<QueuePermissions> GetPermissionsAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<QueuePermissions^>^ GetPermissionsAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetPermissionsAsync : cancellationToken:CancellationToken -> Task<QueuePermissions> [<DoesServiceRequestAttribute>] override GetPermissionsAsync : cancellationToken:CancellationToken -> Task<QueuePermissions>
<DoesServiceRequestAttribute> Public Overridable Function GetPermissionsAsync ( cancellationToken As CancellationToken ) As Task(Of QueuePermissions)
Parameters
- 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.Task<QueuePermissions>System.Threading.Tasks::Task<QueuePermissions^>^System.Threading.Tasks.Task<QueuePermissions>System.Threading.Tasks.Task(Of QueuePermissions)A Task<TResult><TResult><'TResult>(Of TResult) object of type QueuePermissions that represents the asynchronous operation.