Sdílet prostřednictvím


CloudQueue.GetPermissionsAsync Method

Definition

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