ParallelLoopResult Structure

Task Parallel System.Threading

Provides completion status on the execution of a Parallel loop.

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Structure ParallelLoopResult
C#
public struct ParallelLoopResult

Remarks

If IsCompleted returns true, then the loop ran to completion, such that all iterations of the loop were executed. If IsCompleted returns false and LowestBreakIteration returns null, a call to Stop()()() was used to end the loop prematurely. If IsCompleted returns false and LowestBreakIteration returns a non-null integral value, Break()()() was used to end the loop prematurely.

See Also