Parallel.ForEach<TSource> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

  Name Description
Public method Static member ForEach<TSource>(IEnumerable<TSource>, Action<TSource>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState, Int64>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(OrderablePartitioner<TSource>, Action<TSource, ParallelLoopState, Int64>) Executes a for each operation on a OrderablePartitioner<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(Partitioner<TSource>, Action<TSource>) Executes a for each operation on a Partitioner<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(Partitioner<TSource>, Action<TSource, ParallelLoopState>) Executes a for each operation on a Partitioner<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, Int64>) Executes a for each operation on an IEnumerable<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(OrderablePartitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, Int64>) Executes a for each operation on a OrderablePartitioner<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(Partitioner<TSource>, ParallelOptions, Action<TSource>) Executes a for each operation on a Partitioner<TSource> in which iterations may run in parallel.
Public method Static member ForEach<TSource>(Partitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>) Executes a for each operation on a Partitioner<TSource> in which iterations may run in parallel.
Top
Show: