mscorlib 4.0.0.0 System.Object System.Diagnostics.DebuggerDisplay("ShouldExitCurrentIteration = {ShouldExitCurrentIteration}") To be added.

Enables iterations of loops to interact with other iterations. An instance of this class is provided by the Parallel class to each loop; you can not create instances in your user code.

- Method
  4.0.0.0
  System.Void

  may be used to communicate to the loop that no other iterations after the current iteration need be run. For example, if is called from the 100th iteration of a for loop iterating in parallel from 0 to 1000, all iterations less than 100 should still be run, but the iterations from 101 through to 1000 are not necessary.

  For long-running iterations that may already be executing, causes to be set to the current iteration's index if the current index is less than the current value of .

  is typically employed in search-based algorithms where an ordering is present in the data source.

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

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

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

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets whether any iteration of the loop has called .

- Property
  4.0.0.0
  System.Nullable<System.Int64> To be added.

  If no iteration of the loop called , this property will return null.

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

- Property
  4.0.0.0
  System.Boolean To be added.

  When an iteration of a loop calls or , or when one throws an exception, or when the loop is canceled, the class will proactively attempt to prohibit additional iterations of the loop from starting execution.

  However, there may be cases where it is unable to prevent additional iterations from starting.

  It may also be the case that a long-running iteration has already begun execution. In such cases, iterations may explicitly check the property and cease execution if the property returns true.

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

- Method
  4.0.0.0
  System.Void

  may be used to communicate to the loop that no other iterations need be run.

  For long-running iterations that may already be executing, causes to return true for all other iterations of the loop, such that another iteration may check and exit early if it's observed to be true.

  is typically employed in search-based algorithms, where once a result is found, no other iterations need be executed.

  Communicates that the loop should cease execution at the system's earliest convenience.