共用方式為


RuleEngine.Execute 方法

定義

使用 RuleSet 類別評估 RuleExecution

多載

Execute(Object)

使用 RuleExecution(RuleValidation, Object) 執行目前物件。

Execute(Object, ActivityExecutionContext)

針對物件執行個體執行目前的 RuleSet (在此例中,執行個體可以是 Activity)。

Execute(Object)

使用 RuleExecution(RuleValidation, Object) 執行目前物件。

public:
 void Execute(System::Object ^ thisObject);
public void Execute (object thisObject);
member this.Execute : obj -> unit
Public Sub Execute (thisObject As Object)

參數

thisObject
Object

要執行的目前物件。

適用於

Execute(Object, ActivityExecutionContext)

針對物件執行個體執行目前的 RuleSet (在此例中,執行個體可以是 Activity)。

public:
 void Execute(System::Object ^ thisObject, System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext);
public void Execute (object thisObject, System.Workflow.ComponentModel.ActivityExecutionContext executionContext);
member this.Execute : obj * System.Workflow.ComponentModel.ActivityExecutionContext -> unit
Public Sub Execute (thisObject As Object, executionContext As ActivityExecutionContext)

參數

thisObject
Object

要執行的目前物件。

executionContext
ActivityExecutionContext

目前活動的 ActivityExecutionContext

適用於