RouterWorkerSelector(String, LabelOperator, RouterValue) Constructor

Definition

Initializes a new instance of WorkerSelector.

public RouterWorkerSelector (string key, Azure.Communication.JobRouter.LabelOperator labelOperator, Azure.Communication.JobRouter.RouterValue value);
new Azure.Communication.JobRouter.RouterWorkerSelector : string * Azure.Communication.JobRouter.LabelOperator * Azure.Communication.JobRouter.RouterValue -> Azure.Communication.JobRouter.RouterWorkerSelector
Public Sub New (key As String, labelOperator As LabelOperator, value As RouterValue)

Parameters

key
String

The label key to query against.

labelOperator
LabelOperator

Describes how the value of the label is compared to the value defined on the label selector.

value
RouterValue

The value to compare against the actual label value with the given operator.

Applies to