Compartilhar via


JobRouterClient.GetQueuePosition(String, CancellationToken) Método

Definição

Obtém detalhes de posição de trabalhos.

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

Parâmetros

jobId
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

(Opcional) O token de cancelamento a ser usado.

Retornos

Exceções

jobId é nulo.

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

Aplica-se a