JobRouterModelFactory.RuleEngineQueueSelectorAttachment(RouterRule) Method
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 RuleEngineQueueSelectorAttachment.
public static Azure.Communication.JobRouter.RuleEngineQueueSelectorAttachment RuleEngineQueueSelectorAttachment (Azure.Communication.JobRouter.RouterRule rule = default);
static member RuleEngineQueueSelectorAttachment : Azure.Communication.JobRouter.RouterRule -> Azure.Communication.JobRouter.RuleEngineQueueSelectorAttachment
Public Shared Function RuleEngineQueueSelectorAttachment (Optional rule As RouterRule = Nothing) As RuleEngineQueueSelectorAttachment
Parameters
- rule
- RouterRule
A RouterRule that resolves a collection of queue selectors to attach. Please note RouterRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DirectMapRouterRule, ExpressionRouterRule, FunctionRouterRule, StaticRouterRule and WebhookRouterRule.
Returns
A new RuleEngineQueueSelectorAttachment instance for mocking.
Applies to
Azure SDK for .NET