Прочетете на английски Редактиране

Споделяне чрез


ParallelForEach<T>.CompletionCondition Property

Definition

Evaluated after each iteration completes.

C#
public System.Activities.Activity<bool> CompletionCondition { get; set; }

Property Value

The completion expression.

Remarks

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

Applies to

Продукт Версии
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1