RuleExecution 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 RuleExecution 类的新实例。
重载
RuleExecution(RuleValidation, Object) |
使用 RuleExecution 和要执行的对象初始化 RuleValidation 类的新实例。 |
RuleExecution(RuleValidation, Object, ActivityExecutionContext) |
使用 RuleExecution、要执行的对象和当前活动的 RuleValidation 初始化 ActivityExecutionContext 类的新实例。 |
RuleExecution(RuleValidation, Object)
使用 RuleExecution 和要执行的对象初始化 RuleValidation 类的新实例。
public:
RuleExecution(System::Workflow::Activities::Rules::RuleValidation ^ validation, System::Object ^ thisObject);
public RuleExecution (System.Workflow.Activities.Rules.RuleValidation validation, object thisObject);
new System.Workflow.Activities.Rules.RuleExecution : System.Workflow.Activities.Rules.RuleValidation * obj -> System.Workflow.Activities.Rules.RuleExecution
Public Sub New (validation As RuleValidation, thisObject As Object)
参数
- validation
- RuleValidation
保证正确配置表达式的 RuleValidation。
- thisObject
- Object
要执行的当前对象。
例外
validation
或 thisObject
为空引用(在 Visual Basic 中为 Nothing
)。
适用于
RuleExecution(RuleValidation, Object, ActivityExecutionContext)
使用 RuleExecution、要执行的对象和当前活动的 RuleValidation 初始化 ActivityExecutionContext 类的新实例。
public:
RuleExecution(System::Workflow::Activities::Rules::RuleValidation ^ validation, System::Object ^ thisObject, System::Workflow::ComponentModel::ActivityExecutionContext ^ activityExecutionContext);
public RuleExecution (System.Workflow.Activities.Rules.RuleValidation validation, object thisObject, System.Workflow.ComponentModel.ActivityExecutionContext activityExecutionContext);
new System.Workflow.Activities.Rules.RuleExecution : System.Workflow.Activities.Rules.RuleValidation * obj * System.Workflow.ComponentModel.ActivityExecutionContext -> System.Workflow.Activities.Rules.RuleExecution
Public Sub New (validation As RuleValidation, thisObject As Object, activityExecutionContext As ActivityExecutionContext)
参数
- validation
- RuleValidation
保证正确配置表达式的 RuleValidation。
- thisObject
- Object
要执行的当前对象。
- activityExecutionContext
- ActivityExecutionContext
当前活动的 ActivityExecutionContext。