Dela via


StaticWorkerSelectorAttachment Class

Definition

Describes a worker selector that will be attached to a job.

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

Constructors

StaticWorkerSelectorAttachment(RouterWorkerSelector)

Initializes a new instance of StaticWorkerSelectorAttachment.

Properties

Kind

The type discriminator describing a sub-type of WorkerSelectorAttachment.

(Inherited from WorkerSelectorAttachment)
WorkerSelector

The worker selector to attach.

Explicit Interface Implementations

IJsonModel<StaticWorkerSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StaticWorkerSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<WorkerSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from WorkerSelectorAttachment)
IPersistableModel<StaticWorkerSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticWorkerSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StaticWorkerSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<WorkerSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from WorkerSelectorAttachment)

Applies to