ForEach Method
TOC
Collapse the table of content
Expand the table of content

Parallel.ForEach Method

.NET Framework (current version)
 

Executes a foreach (For Each in Visual Basic) operation in which iterations may run in parallel.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState, Int64>)

Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an IEnumerable in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState>)

Executes a foreach (For Each in Visual Basic) operation on an IEnumerable in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, Action<TSource>)

Executes a foreach (For Each in Visual Basic) operation on an IEnumerable in which iterations may run in parallel.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, Int64>)

Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes on an IEnumerable in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>)

Executes a foreach (For Each in Visual Basic) operation on an IEnumerable in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource>)

Executes a foreach (For Each in Visual Basic) operation on an IEnumerable in which iterations may run in parallel and loop options can be configured.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(OrderablePartitioner<TSource>, Action<TSource, ParallelLoopState, Int64>)

Executes a foreach (For Each in Visual Basic) operation on a OrderablePartitioner<TSource> in which iterations may run in parallel and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(OrderablePartitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, Int64>)

Executes a foreach (For Each in Visual Basic) operation on a OrderablePartitioner<TSource> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(Partitioner<TSource>, Action<TSource, ParallelLoopState>)

Executes a foreach (For Each in Visual Basic) operation on a System.Collections.Concurrent.Partitioner in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(Partitioner<TSource>, Action<TSource>)

Executes a foreach (For Each in Visual Basic) operation on a Partitioner in which iterations may run in parallel.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(Partitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>)

Executes a foreach (For Each in Visual Basic) operation on a Partitioner in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource>(Partitioner<TSource>, ParallelOptions, Action<TSource>)

Executes a foreach (For Each in Visual Basic) operation on a Partitioner in which iterations may run in parallel and loop options can be configured.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(IEnumerable<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on an IEnumerable in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(IEnumerable<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, Int64, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on an IEnumerable in which iterations may run in parallel and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(IEnumerable<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on an IEnumerable in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated..

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(IEnumerable<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, Int64, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data and 64-bit indexes on an IEnumerable in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(OrderablePartitioner<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, Int64, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on a OrderablePartitioner<TSource> in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(OrderablePartitioner<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, Int64, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with 64-bit indexes and with thread-local data on a OrderablePartitioner<TSource> in which iterations may run in parallel , loop options can be configured, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(Partitioner<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on a Partitioner in which iterations may run in parallel and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticForEach<TSource, TLocal>(Partitioner<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a foreach (For Each in Visual Basic) operation with thread-local data on a Partitioner in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.

Return to top
Show:
© 2016 Microsoft