ConditionalWorkerSelectorAttachment.Condition Property
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.
The condition that must be true for the worker selectors to be attached. 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.
public Azure.Communication.JobRouter.RouterRule Condition { get; }
member this.Condition : Azure.Communication.JobRouter.RouterRule
Public ReadOnly Property Condition As RouterRule