Edit

Share via


RuleEngine.Execute Method

Definition

Evaluates a RuleSet using the RuleExecution class.

Overloads

Execute(Object)

Executes the current object using RuleExecution(RuleValidation, Object).

Execute(Object, ActivityExecutionContext)

Executes the current RuleSet against the object instance (which, in this case, is likely an Activity).

Execute(Object)

Executes the current object using 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)

Parameters

thisObject
Object

The current object to be executed.

Applies to

Execute(Object, ActivityExecutionContext)

Executes the current RuleSet against the object instance (which, in this case, is likely an 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)

Parameters

thisObject
Object

The current object to be executed.

executionContext
ActivityExecutionContext

The ActivityExecutionContext for the current activity.

Applies to