ParallelForEach<T>.CompletionCondition Property

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

Evaluated after each iteration completes. If it evaluates to true, then the scheduled pending iterations are canceled. If this property is not set, all scheduled statements execute until completion.

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

Syntax

'Declaration
Public Property CompletionCondition As WorkflowElement(Of Boolean)
    Get
    Set
'Usage
Dim instance As ParallelForEach
Dim value As WorkflowElement(Of Boolean)

value = instance.CompletionCondition

instance.CompletionCondition = value
public WorkflowElement<bool> CompletionCondition { get; set; }
public:
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.

Platforms

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

Reference

ParallelForEach<T> Class

ParallelForEach<T> Members

System.Activities.Core Namespace