CloudQueue.GetPermissionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetPermissionsAsync() |
Initiates an asynchronous operation to get the permissions settings for the queue. |
GetPermissionsAsync(CancellationToken) |
Initiates an asynchronous operation to get the permissions settings for the queue. |
GetPermissionsAsync(QueueRequestOptions, OperationContext) |
Initiates an asynchronous operation to get the permissions settings for the queue. |
GetPermissionsAsync(QueueRequestOptions, OperationContext, CancellationToken) |
Initiates an asynchronous operation to get the permissions settings for the queue. |
GetPermissionsAsync()
Initiates an asynchronous operation to get the permissions settings for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions> GetPermissionsAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPermissionsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
override this.GetPermissionsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
Public Overridable Function GetPermissionsAsync () As Task(Of QueuePermissions)
Returns
A Task<TResult> object of type QueuePermissions that represents the asynchronous operation.
- Attributes
Applies to
GetPermissionsAsync(CancellationToken)
Initiates an asynchronous operation to get the permissions settings for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions> GetPermissionsAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPermissionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
override this.GetPermissionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
Public Overridable Function GetPermissionsAsync (cancellationToken As CancellationToken) As Task(Of QueuePermissions)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type QueuePermissions that represents the asynchronous operation.
- Attributes
Applies to
GetPermissionsAsync(QueueRequestOptions, OperationContext)
Initiates an asynchronous operation to get the permissions settings for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions> GetPermissionsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPermissionsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
override this.GetPermissionsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
Public Overridable Function GetPermissionsAsync (options As QueueRequestOptions, operationContext As OperationContext) As Task(Of QueuePermissions)
Parameters
- options
- QueueRequestOptions
A QueueRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
Returns
A Task<TResult> object of type QueuePermissions that represents the asynchronous operation.
- Attributes
Applies to
GetPermissionsAsync(QueueRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to get the permissions settings for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions> GetPermissionsAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPermissionsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
override this.GetPermissionsAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions>
Public Overridable Function GetPermissionsAsync (options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of QueuePermissions)
Parameters
- options
- QueueRequestOptions
A QueueRequestOptions object that specifies additional options for the request.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type QueuePermissions that represents the asynchronous operation.
- Attributes
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin