Share via


EvaluationRule(EvaluationRuleAction, EvaluationRuleEventType, Boolean) Constructor

Definition

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.

Applies to