Partilhar via


JobRouterClient.GetQueueStatistics(String, CancellationToken) Método

Definição

Recupera estatísticas de fila por Id.

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

Parâmetros

queueId
String

ID da fila.

cancellationToken
CancellationToken

(Opcional) O token de cancelamento a ser usado.

Retornos

Exceções

queueId é nulo.

Aplica-se a