共用方式為


RuleExecution 建構函式

定義

初始化 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

要執行的目前物件。

例外狀況

validationthisObject 為 null 參考 (在 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

適用於