ParallelForEach<T>.CompletionCondition Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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