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, object thisObject);

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

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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, object thisObject, System.Workflow.ComponentModel.ActivityExecutionContext 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

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1