Udostępnij za pośrednictwem


JobRouterClient.CreateJobWithClassificationPolicyAsync Method

Definition

Creates a new job to be routed with classification property.

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))

Parameters

options
CreateJobWithClassificationPolicyOptions

Options for creating job with classification properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to