Compartilhar via


SipRoutingClient.GetRoutesAsync(CancellationToken) Método

Definição

Obter Lista de configurados SipTrunkRoute.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunkRoute>>> GetRoutesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunkRoute>>>
override this.GetRoutesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunkRoute>>>
Public Overridable Function GetRoutesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of SipTrunkRoute)))

Parâmetros

cancellationToken
CancellationToken

Token de cancelamento opcional.

Retornos

Lista de rotas configuradas.

Aplica-se a