Editare

Partajați prin


ParallelForEach<T>.CompletionCondition Property

Definition

Evaluated after each iteration completes.

public:
 property System::Activities::Activity<bool> ^ CompletionCondition { System::Activities::Activity<bool> ^ get(); void set(System::Activities::Activity<bool> ^ value); };
public System.Activities.Activity<bool> CompletionCondition { get; set; }
member this.CompletionCondition : System.Activities.Activity<bool> with get, set
Public Property CompletionCondition As Activity(Of Boolean)

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