Partilhar via


JobRouterClient.CompleteJob(CompleteJobOptions, CancellationToken) Método

Definição

Conclui um trabalho atribuído.

public virtual Azure.Response CompleteJob (Azure.Communication.JobRouter.CompleteJobOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CompleteJob : Azure.Communication.JobRouter.CompleteJobOptions * System.Threading.CancellationToken -> Azure.Response
override this.CompleteJob : Azure.Communication.JobRouter.CompleteJobOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function CompleteJob (options As CompleteJobOptions, Optional cancellationToken As CancellationToken = Nothing) As Response

Parâmetros

options
CompleteJobOptions

Opções para concluir um trabalho.

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