Modifier

Partager via


RuleExecution Constructors

Definition

Initializes a new instance of the RuleExecution class.

Overloads

RuleExecution(RuleValidation, Object)

Initializes a new instance of the RuleExecution class by using the RuleValidation and the object to be executed.

RuleExecution(RuleValidation, Object, ActivityExecutionContext)

Initializes a new instance of the RuleExecution class by using the RuleValidation, the object to be executed, and the ActivityExecutionContext for the current activity.

RuleExecution(RuleValidation, Object)

Initializes a new instance of the RuleExecution class by using the RuleValidation and the object to be executed.

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)

Parameters

validation
RuleValidation

The RuleValidation that guarantees that the expression is configured correctly.

thisObject
Object

The current object to be executed.

Exceptions

validation or thisObject is a null reference (Nothing in Visual Basic).

Applies to

RuleExecution(RuleValidation, Object, ActivityExecutionContext)

Initializes a new instance of the RuleExecution class by using the RuleValidation, the object to be executed, and the ActivityExecutionContext for the current activity.

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)

Parameters

validation
RuleValidation

The RuleValidation that guarantees that the expression is configured correctly.

thisObject
Object

The current object to be executed.

activityExecutionContext
ActivityExecutionContext

The ActivityExecutionContext for the current Activity.

Applies to