C#C++F#VB
CloudFileShare.::..GetPermissionsAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation that gets the permissions settings for the share.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<FileSharePermissions> GetPermissionsAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<FileSharePermissions^>^ GetPermissionsAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract GetPermissionsAsync : cancellationToken:CancellationToken -> Task<FileSharePermissions> [<DoesServiceRequestAttribute>] override GetPermissionsAsync : cancellationToken:CancellationToken -> Task<FileSharePermissions>
<DoesServiceRequestAttribute> Public Overridable Function GetPermissionsAsync ( cancellationToken As CancellationToken ) As Task(Of FileSharePermissions)
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<FileSharePermissions>System.Threading.Tasks::Task<FileSharePermissions^>^System.Threading.Tasks.Task<FileSharePermissions>System.Threading.Tasks.Task(Of FileSharePermissions)A Task<TResult><TResult><'TResult>(Of TResult) object of type FileSharePermissions that represents the asynchronous operation.
See Also
GetPermissionsAsync Overload
CloudFileShare Class
Microsoft.WindowsAzure.Storage.File Namespace