Udostępnij za pośrednictwem


JobRouterModelFactory.PassThroughQueueSelectorAttachment Method

Definition

Initializes a new instance of PassThroughQueueSelectorAttachment.

public static Azure.Communication.JobRouter.PassThroughQueueSelectorAttachment PassThroughQueueSelectorAttachment (string key = default, Azure.Communication.JobRouter.LabelOperator labelOperator = default);
static member PassThroughQueueSelectorAttachment : string * Azure.Communication.JobRouter.LabelOperator -> Azure.Communication.JobRouter.PassThroughQueueSelectorAttachment
Public Shared Function PassThroughQueueSelectorAttachment (Optional key As String = Nothing, Optional labelOperator As LabelOperator = Nothing) As PassThroughQueueSelectorAttachment

Parameters

key
String

The label key to query against.

labelOperator
LabelOperator

Describes how the value of the label is compared to the value pass through.

Returns

A new PassThroughQueueSelectorAttachment instance for mocking.

Applies to