次の方法で共有


JobRouterClient.ReclassifyJob Method

Definition

Overloads

ReclassifyJob(String, CancellationToken)

Reclassify a job.

ReclassifyJob(String, RequestContent, RequestContext)

[Protocol Method] Reclassify a job.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
  • Please try the simpler Azure.Communication.JobRouter.JobRouterClient.ReclassifyJob(System.String,Azure.Communication.JobRouter.ReclassifyJobOptions,System.Threading.CancellationToken) convenience overload with strongly typed models first.

ReclassifyJob(String, CancellationToken)

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

Reclassify a job.

public virtual Azure.Response ReclassifyJob (string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member ReclassifyJob : string * System.Threading.CancellationToken -> Azure.Response
override this.ReclassifyJob : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ReclassifyJob (jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

jobId
String

The id of a job.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

Applies to

ReclassifyJob(String, RequestContent, RequestContext)

Source:
JobRouterClient.cs
Source:
JobRouterClient.cs

[Protocol Method] Reclassify a job.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
  • Please try the simpler Azure.Communication.JobRouter.JobRouterClient.ReclassifyJob(System.String,Azure.Communication.JobRouter.ReclassifyJobOptions,System.Threading.CancellationToken) convenience overload with strongly typed models first.
public virtual Azure.Response ReclassifyJob (string jobId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ReclassifyJob : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.ReclassifyJob : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function ReclassifyJob (jobId As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

jobId
String

Id of a job.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

jobId is null.

jobId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to