Parallel.For Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Executes a for (For in Visual Basic) loop in which iterations may run in parallel.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticFor(Int32, Int32, Action<Int32, ParallelLoopState>)

Executes a for (For in Visual Basic) loop in which iterations may run in parallel and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticFor(Int32, Int32, Action<Int32>)

Executes a for (For in Visual Basic) loop in which iterations may run in parallel.

System_CAPS_pubmethodSystem_CAPS_staticFor(Int32, Int32, ParallelOptions, Action<Int32, ParallelLoopState>)

Executes a for (For in Visual Basic) loop 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_staticFor(Int32, Int32, ParallelOptions, Action<Int32>)

Executes a for (For in Visual Basic) loop in which iterations may run in parallel and loop options can be configured.

System_CAPS_pubmethodSystem_CAPS_staticFor(Int64, Int64, Action<Int64, ParallelLoopState>)

Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticFor(Int64, Int64, Action<Int64>)

Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel.

System_CAPS_pubmethodSystem_CAPS_staticFor(Int64, Int64, ParallelOptions, Action<Int64, ParallelLoopState>)

Executes a for (For in Visual Basic) loop with 64-bit indexes 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_staticFor(Int64, Int64, ParallelOptions, Action<Int64>)

Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel and loop options can be configured.

System_CAPS_pubmethodSystem_CAPS_staticFor<TLocal>(Int32, Int32, Func<TLocal>, Func<Int32, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

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

System_CAPS_pubmethodSystem_CAPS_staticFor<TLocal>(Int32, Int32, ParallelOptions, Func<TLocal>, Func<Int32, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a for (For in Visual Basic) loop with thread-local data 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_staticFor<TLocal>(Int64, Int64, Func<TLocal>, Func<Int64, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a for (For in Visual Basic) loop with 64-bit indexes and thread-local data in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.

System_CAPS_pubmethodSystem_CAPS_staticFor<TLocal>(Int64, Int64, ParallelOptions, Func<TLocal>, Func<Int64, ParallelLoopState, TLocal, TLocal>, Action<TLocal>)

Executes a for (For in Visual Basic) loop with 64-bit indexes and thread-local data 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: