Delen via


RuleEngineQueueSelectorAttachment(RouterRule) Constructor

Definition

Initializes a new instance of RuleEngineQueueSelectorAttachment.

public RuleEngineQueueSelectorAttachment (Azure.Communication.JobRouter.RouterRule rule);
new Azure.Communication.JobRouter.RuleEngineQueueSelectorAttachment : Azure.Communication.JobRouter.RouterRule -> Azure.Communication.JobRouter.RuleEngineQueueSelectorAttachment
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