Loop Result Struct
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides completion status on the execution of a Parallel loop.
public value class ParallelLoopResult
public struct ParallelLoopResult
type ParallelLoopResult = struct
Public Structure ParallelLoopResult
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.
Gets whether the loop ran to completion, such that all iterations of the loop were executed and the loop didn't receive a request to end prematurely.
Gets the index of the lowest iteration from which Break() was called.
All public members of ParallelLoopResult are thread safe and may be called from multiple threads concurrently.