Rule Constructor (String^, RuleCondition^, IList<RuleAction^>^)

 

Initializes a new instance of the Rule class using the name of the Rule, the rule condition, and a list of THEN actions.

Namespace:   System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public:
Rule(
	String^ name,
	RuleCondition^ condition,
	IList<RuleAction^>^ thenActions
)

Parameters

name
Type: System::String^

The name of the Rule.

condition
Type: System.Workflow.Activities.Rules::RuleCondition^

The RuleCondition for the Rule.

thenActions
Type: System.Collections.Generic::IList<RuleAction^>^

A collection of RuleAction objects to evaluate whether the condition is true.

.NET Framework
Available since 3.0
Return to top
Show: