RuleEngineWorkerSelectorAttachment(RouterRule) 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 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
Azure SDK for .NET
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de