Compartilhar via


JobRouterClient.CreateJobWithClassificationPolicy Método

Definição

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

public virtual Azure.Response<Azure.Communication.JobRouter.RouterJob> CreateJobWithClassificationPolicy (Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateJobWithClassificationPolicy : Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.RouterJob>
override this.CreateJobWithClassificationPolicy : Azure.Communication.JobRouter.CreateJobWithClassificationPolicyOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.JobRouter.RouterJob>
Public Overridable Function CreateJobWithClassificationPolicy (options As CreateJobWithClassificationPolicyOptions, Optional cancellationToken As CancellationToken = Nothing) As 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