CloudQueue.SetPermissionsAsync 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
SetPermissionsAsync(QueuePermissions) |
Initiates an asynchronous operation to set permissions for the queue. |
SetPermissionsAsync(QueuePermissions, CancellationToken) |
Initiates an asynchronous operation to set permissions for the queue. |
SetPermissionsAsync(QueuePermissions, QueueRequestOptions, OperationContext) |
Initiates an asynchronous operation to set permissions for the queue. |
SetPermissionsAsync(QueuePermissions, QueueRequestOptions, OperationContext, CancellationToken) |
Initiates an asynchronous operation to set permissions for the queue. |
SetPermissionsAsync(QueuePermissions)
Initiates an asynchronous operation to set permissions for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions permissions);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As QueuePermissions) As Task
Parameters
- permissions
- QueuePermissions
A QueuePermissions object.
Returns
A Task object that represents the asynchronous operation.
- Attributes
Applies to
SetPermissionsAsync(QueuePermissions, CancellationToken)
Initiates an asynchronous operation to set permissions for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions permissions, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As QueuePermissions, cancellationToken As CancellationToken) As Task
Parameters
- permissions
- QueuePermissions
A QueuePermissions object.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task object that represents the asynchronous operation.
- Attributes
Applies to
SetPermissionsAsync(QueuePermissions, QueueRequestOptions, OperationContext)
Initiates an asynchronous operation to set permissions for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions permissions, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As QueuePermissions, options As QueueRequestOptions, operationContext As OperationContext) As Task
Parameters
- permissions
- QueuePermissions
A QueuePermissions object.
- 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 object that represents the asynchronous operation.
- Attributes
Applies to
SetPermissionsAsync(QueuePermissions, QueueRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to set permissions for the queue.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions permissions, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetPermissionsAsync : Microsoft.Azure.Storage.Queue.Protocol.QueuePermissions * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetPermissionsAsync (permissions As QueuePermissions, options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task
Parameters
- permissions
- QueuePermissions
A QueuePermissions object.
- 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 object that represents the asynchronous operation.
- Attributes
Applies to
Azure SDK for .NET