Parallel.CompletionCondition Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Evaluates after any branch completes.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)


Public Property CompletionCondition As WorkflowElement(Of Boolean)
Dim instance As Parallel
Dim value As WorkflowElement(Of Boolean)

value = instance.CompletionCondition

instance.CompletionCondition = value
public WorkflowElement<bool> CompletionCondition { get; set; }
property WorkflowElement<bool>^ CompletionCondition {
    WorkflowElement<bool>^ get ();
    void set (WorkflowElement<bool>^ value);
function get CompletionCondition () : WorkflowElement<boolean>
function set CompletionCondition (value : WorkflowElement<boolean>)
member CompletionCondition : WorkflowElement<bool> with get, set

Property Value

Type: System.Activities.WorkflowElement<Boolean>
The completion expression.


If this property evaluates to true, then the other scheduled elements in the Branches collection are canceled. If this property is not set, all WorkflowElement objects in the Branches collection execute until completion.


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also


Parallel Class

Parallel Members

System.Activities.Core Namespace