This documentation is archived and is not being maintained.

Rule.ThenActions Property

Gets a collection of RuleAction classes to perform in the THEN case.

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

public IList<RuleAction> ThenActions { get; }

Property Value

Type: System.Collections.Generic.IList<RuleAction>
A collection of RuleAction classes to perform in the THEN case.

ThenActions typically set a variable value on one of the properties of the activity, call a method of the activity, or call static methods on types in referenced assemblies.

The RuleHaltAction causes the RuleSet to stop executing and returns control to the calling method. A RuleUpdateAction explicitly indicates that a rule is updating a variable. This causes the re-evaluation of any affected rules.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: