System.Threading.Tasks.ParallelLoopState Members

The members of System.Threading.Tasks.ParallelLoopState are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
IsExceptionalbool.

Gets whether any iteration of the loop has thrown an exception that went unhandled by that iteration.

[read-only]
IsStoppedbool.

Gets whether any iteration of the loop has called ParallelLoopState.Stop.

[read-only]
LowestBreakIterationNullable<long>.

Gets the lowest iteration of the loop from which ParallelLoopState.Break was called.

[read-only]
ShouldExitCurrentIterationbool.

Gets whether the current iteration of the loop should exit based on requests made by this or other iterations.

Public Methods

Break()

Communicates that the System.Threading.Tasks.Parallel loop should cease execution at the system's earliest convenience of iterations beyond the current iteration.

Stop()

Communicates that the System.Threading.Tasks.Parallel loop should cease execution at the system's earliest convenience.