Compartilhar via


JobRouterAdministrationClient.GetQueue(String, CancellationToken) Método

Definição

Recupera uma fila existente por ID.

public virtual Azure.Response<Azure.Communication.JobRouter.Models.RouterQueue> GetQueue (string queueId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQueue : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.Models.RouterQueue>
override this.GetQueue : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.Models.RouterQueue>
Public Overridable Function GetQueue (queueId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RouterQueue)

Parâmetros

queueId
String

Id da fila a ser recuperada.

cancellationToken
CancellationToken

(Opcional) O token de cancelamento a ser usado.

Retornos

Exceções

queueId é nulo.

Aplica-se a