UpdatedRuleSetAction 类

定义

表示对用于动态更新的 RuleSet 进行的更改。Represents the change to a RuleSet for dynamic updates. 此类不能被继承。This class cannot be inherited.

public ref class UpdatedRuleSetAction sealed : System::Workflow::Activities::Rules::RuleSetChangeAction
public sealed class UpdatedRuleSetAction : System.Workflow.Activities.Rules.RuleSetChangeAction
type UpdatedRuleSetAction = class
    inherit RuleSetChangeAction
Public NotInheritable Class UpdatedRuleSetAction
Inherits RuleSetChangeAction
继承

注解

此类可由跟踪服务用于确定在动态更新过程中更改了哪些 RuleSet。This class can be used by a tracking service to determine which RuleSets have been changed during a dynamic update. 会为在动态更新前已存在且在动态更新后保留的每个 RuleSet 生成此对象的一个实例,并将更改应用于一个或多个规则。An instance of this object will be generated for every RuleSet that existed before the dynamic update and remains afterwards, and has changes applied to one or more rules.

构造函数

UpdatedRuleSetAction()

初始化 UpdatedRuleSetAction 类的新实例。Initializes a new instance of the UpdatedRuleSetAction class.

UpdatedRuleSetAction(RuleSet, RuleSet)

使用原始和已更新的 UpdatedRuleSetAction 类初始化 RuleSet 类的新实例。Initializes a new instance of the UpdatedRuleSetAction class by using the original and the updated RuleSet classes.

属性

OriginalRuleSetDefinition

获取或设置原始的 RuleSetGets or sets the original RuleSet.

RuleSetName

获取 RuleSet 的名称。Gets the name of the RuleSet.

UpdatedRuleSetDefinition

获取或设置已更新的 RuleSetGets or sets the updated RuleSet.

方法

ApplyTo(Activity)

当在派生类中重写时,将更改应用到根 ActivityWhen overridden in a derived class, applies the changes to the root Activity.

(继承自 WorkflowChangeAction)
Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
ValidateChanges(Activity)

在派生类中重写时,验证 RuleSet 是否配置正确且没有错误。When overridden in a derived class, verifies that the RuleSet is configured correctly and has no errors.

(继承自 RuleSetChangeAction)

适用于

另请参阅