你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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