Compartilhar via


JobRouterAdministrationClient.GetDistributionPoliciesAsync Método

Definição

Recupera as políticas de distribuição existentes.

public virtual Azure.AsyncPageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem> GetDistributionPoliciesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDistributionPoliciesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem>
override this.GetDistributionPoliciesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem>
Public Overridable Function GetDistributionPoliciesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DistributionPolicyItem)

Parâmetros

cancellationToken
CancellationToken

(Opcional) O token de cancelamento a ser usado.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a