你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RouterWorkerSelector(String, LabelOperator, RouterValue) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.