다음을 통해 공유


QueueSelectorAttachment Class

Definition

An attachment of queue selectors to resolve a queue to a job from a classification policy. Please note QueueSelectorAttachment 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 ConditionalQueueSelectorAttachment, PassThroughQueueSelectorAttachment, RuleEngineQueueSelectorAttachment, StaticQueueSelectorAttachment and WeightedAllocationQueueSelectorAttachment.

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

Constructors

QueueSelectorAttachment()

Initializes a new instance of QueueSelectorAttachment.

Properties

Kind

The type discriminator describing a sub-type of QueueSelectorAttachment.

Explicit Interface Implementations

IJsonModel<QueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<QueueSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<QueueSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<QueueSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to