Compartilhar via


QueueClient.SetAccessPolicyAsync Método

Definição

SetAccessPolicyAsync define políticas de acesso armazenadas para a fila que pode ser usada com Assinaturas de Acesso Compartilhado.

Para obter mais informações, consulte Definir ACL de Fila.

public virtual System.Threading.Tasks.Task<Azure.Response> SetAccessPolicyAsync (System.Collections.Generic.IEnumerable<Azure.Storage.Queues.Models.QueueSignedIdentifier> permissions, System.Threading.CancellationToken cancellationToken = default);
abstract member SetAccessPolicyAsync : seq<Azure.Storage.Queues.Models.QueueSignedIdentifier> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetAccessPolicyAsync : seq<Azure.Storage.Queues.Models.QueueSignedIdentifier> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetAccessPolicyAsync (permissions As IEnumerable(Of QueueSignedIdentifier), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

Retornos

Response

Aplica-se a