Partilhar via


JobRouterClient.CreateJobWithClassificationPolicyAsync Método

Definição

Cria um novo trabalho a ser roteado com a propriedade de classificação.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.JobRouter.RouterJob>> CreateJobWithClassificationPolicyAsync (Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateJobWithClassificationPolicyAsync : Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.JobRouter.RouterJob>>
override this.CreateJobWithClassificationPolicyAsync : Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.JobRouter.RouterJob>>
Public Overridable Function CreateJobWithClassificationPolicyAsync (options As CreateJobWithClassificationPolicyOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RouterJob))

Parâmetros

options
CreateJobWithClassificationPolicyOptions

Opções para criar um trabalho com propriedades de classificação.

cancellationToken
CancellationToken

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