CompletionCondition Property
Collapse the table of content
Expand the table of content

ParallelForEach<T>.CompletionCondition Property

.NET Framework (current version)

Evaluated after each iteration completes.

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

public Activity<bool> CompletionCondition { get; set; }

Property Value

Type: System.Activities.Activity<Boolean>

The completion expression.

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

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft