Condividi tramite


ReclassifyExceptionAction Class

Definition

An action that modifies labels on a job and then reclassifies it.

public class ReclassifyExceptionAction : Azure.Communication.JobRouter.ExceptionAction
public class ReclassifyExceptionAction : Azure.Communication.JobRouter.ExceptionAction, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.ReclassifyExceptionAction>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.ReclassifyExceptionAction>
type ReclassifyExceptionAction = class
    inherit ExceptionAction
type ReclassifyExceptionAction = class
    inherit ExceptionAction
    interface IJsonModel<ReclassifyExceptionAction>
    interface IPersistableModel<ReclassifyExceptionAction>
Public Class ReclassifyExceptionAction
Inherits ExceptionAction
Public Class ReclassifyExceptionAction
Inherits ExceptionAction
Implements IJsonModel(Of ReclassifyExceptionAction), IPersistableModel(Of ReclassifyExceptionAction)
Inheritance
ReclassifyExceptionAction
Implements

Constructors

ReclassifyExceptionAction()

Initializes a new instance of CancelExceptionAction.

Properties

ClassificationPolicyId

(optional) The new classification policy that will determine queue, priority and worker selectors.

Id

Unique Id of the exception action.

(Inherited from ExceptionAction)
Kind

The type discriminator describing a sub-type of ExceptionAction.

(Inherited from ExceptionAction)
LabelsToUpsert

(optional) Dictionary containing the labels to update (or add if not existing) in key-value pairs. Values must be primitive values - number, string, boolean.

Explicit Interface Implementations

IJsonModel<ExceptionAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ExceptionAction)
IJsonModel<ExceptionAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ExceptionAction)
IJsonModel<ReclassifyExceptionAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ReclassifyExceptionAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExceptionAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ExceptionAction)
IPersistableModel<ExceptionAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ExceptionAction)
IPersistableModel<ExceptionAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ExceptionAction)
IPersistableModel<ReclassifyExceptionAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReclassifyExceptionAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ReclassifyExceptionAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to