Partager via


ScheduleAndSuspendMode Class

Definition

Describes a matching mode used for scheduling jobs to be queued at a future time. At the specified time, matching worker to a job will not start automatically.

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

Constructors

ScheduleAndSuspendMode(DateTimeOffset)

Initializes a new instance of ScheduleAndSuspendMode.

Properties

Kind

The type discriminator describing a sub-type of JobMatchingMode.

(Inherited from JobMatchingMode)
ScheduleAt

Requested schedule time.

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.

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from JobMatchingMode)
IJsonModel<ScheduleAndSuspendMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduleAndSuspendMode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobMatchingMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from JobMatchingMode)
IPersistableModel<ScheduleAndSuspendMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduleAndSuspendMode>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduleAndSuspendMode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to