Compartilhar via


JobMatchingMode Class

Definition

A matching mode of one of the following types: QueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued. ScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically. SuspendMode: Used when matching workers to a job needs to be suspended. Please note JobMatchingMode is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include QueueAndMatchMode, ScheduleAndSuspendMode and SuspendMode.

public abstract class JobMatchingMode
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.JobRouter.UnknownJobMatchingMode))]
public abstract class JobMatchingMode : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.JobMatchingMode>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.JobMatchingMode>
type JobMatchingMode = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.JobRouter.UnknownJobMatchingMode))>]
type JobMatchingMode = class
    interface IJsonModel<JobMatchingMode>
    interface IPersistableModel<JobMatchingMode>
Public MustInherit Class JobMatchingMode
Public MustInherit Class JobMatchingMode
Implements IJsonModel(Of JobMatchingMode), IPersistableModel(Of JobMatchingMode)
Inheritance
JobMatchingMode
Derived
Attributes
Implements

Constructors

JobMatchingMode()

Initializes a new instance of JobMatchingMode.

Properties

Kind

The type discriminator describing a sub-type of JobMatchingMode.

Explicit Interface Implementations

IJsonModel<JobMatchingMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<JobMatchingMode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobMatchingMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JobMatchingMode>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<JobMatchingMode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to