Rule.ThenActions 属性
定义
获取要在 THEN case 中执行的 RuleAction 类的集合。Gets a collection of RuleAction classes to perform in the THEN case.
public:
property System::Collections::Generic::IList<System::Workflow::Activities::Rules::RuleAction ^> ^ ThenActions { System::Collections::Generic::IList<System::Workflow::Activities::Rules::RuleAction ^> ^ get(); };
public System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction> ThenActions { get; }
member this.ThenActions : System.Collections.Generic.IList<System.Workflow.Activities.Rules.RuleAction>
Public ReadOnly Property ThenActions As IList(Of RuleAction)
属性值
要在 THEN case 中执行的 RuleAction 类的集合。A collection of RuleAction classes to perform in the THEN case.
注解
ThenActions 通常对活动的一个属性设置变量值、调用活动的一个方法或对引用的程序集中的类型调用静态方法。ThenActions typically set a variable value on one of the properties of the activity, call a method of the activity, or call static methods on types in referenced assemblies.
RuleHaltAction 导致 RuleSet 停止执行并使控制返回到调用方法。The RuleHaltAction causes the RuleSet to stop executing and returns control to the calling method. RuleUpdateAction 显式指示规则在更新变量。A RuleUpdateAction explicitly indicates that a rule is updating a variable. 这将导致重新计算所有受影响的规则。This causes the re-evaluation of any affected rules.