Share via


RuleEngineWorkerSelectorAttachment(RouterRule) Constructor

Definition

Initializes a new instance of RuleEngineWorkerSelectorAttachment.

public RuleEngineWorkerSelectorAttachment (Azure.Communication.JobRouter.RouterRule rule);
new Azure.Communication.JobRouter.RuleEngineWorkerSelectorAttachment : Azure.Communication.JobRouter.RouterRule -> Azure.Communication.JobRouter.RuleEngineWorkerSelectorAttachment
Public Sub New (rule As RouterRule)

Parameters

rule
RouterRule

A rule of one of the following types:

StaticRule: A rule providing static rules that always return the same result, regardless of input. DirectMapRule: A rule that return the same labels as the input labels. ExpressionRule: A rule providing inline expression rules. FunctionRule: A rule providing a binding to an HTTP Triggered Azure Function. WebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.

Exceptions

rule is null.

Applies to