Compartilhar via


JobRouterAdministrationClient.GetDistributionPolicies Método

Definição

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

public virtual Azure.Pageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem> GetDistributionPolicies (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDistributionPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem>
override this.GetDistributionPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.JobRouter.Models.DistributionPolicyItem>
Public Overridable Function GetDistributionPolicies (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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