Share via


JobRouterClient.CreateJobWithClassificationPolicy Method

Definition

Creates a new job to be routed with classification property.

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)

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