RuleExecution Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈