EvaluationRule(EvaluationRuleAction, EvaluationRuleEventType, Boolean) 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 EvaluationRule.
public EvaluationRule(Azure.AI.Projects.EvaluationRuleAction action, Azure.AI.Projects.EvaluationRuleEventType eventType, bool enabled);
new Azure.AI.Projects.EvaluationRule : Azure.AI.Projects.EvaluationRuleAction * Azure.AI.Projects.EvaluationRuleEventType * bool -> Azure.AI.Projects.EvaluationRule
Public Sub New (action As EvaluationRuleAction, eventType As EvaluationRuleEventType, enabled As Boolean)
Parameters
- action
- EvaluationRuleAction
Definition of the evaluation rule action.
- eventType
- EvaluationRuleEventType
Event type that the evaluation rule applies to.
- enabled
- Boolean
Indicates whether the evaluation rule is enabled. Default is true.
Exceptions
action is null.