This topic has not yet been rated - Rate this topic

Parallel.For Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member For(Int32, Int32, Action<Int32>) Executes a for loop in which iterations may run in parallel.
Public method Static member For(Int32, Int32, Action<Int32, ParallelLoopState>) Executes a for loop in which iterations may run in parallel and the state of the loop can be monitored and manipulated.
Public method Static member For(Int64, Int64, Action<Int64>) Executes a for loop with 64-bit indices in which iterations may run in parallel.
Public method Static member For(Int64, Int64, Action<Int64, ParallelLoopState>) Executes a for loop with 64-bit indices in which iterations may run in parallel and the state of the loop can be monitored and manipulated.
Public method Static member For(Int32, Int32, ParallelOptions, Action<Int32>) Executes a for loop in which iterations may run in parallel and loop options can be configured.
Public method Static member For(Int32, Int32, ParallelOptions, Action<Int32, ParallelLoopState>) Executes a for loop in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.
Public method Static member For(Int64, Int64, ParallelOptions, Action<Int64>) Executes a for loop with 64-bit indices in which iterations may run in parallel and loop options can be configured.
Public method Static member For(Int64, Int64, ParallelOptions, Action<Int64, ParallelLoopState>) Executes a for loop with 64-bit indices in which iterations may run in parallel, loop options can be configured, and the state of the loop can be monitored and manipulated.
Public method Static member For<TLocal>(Int32, Int32, Func<TLocal>, Func<Int32, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) Executes a for loop with thread-local data in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.
Public method Static member For<TLocal>(Int64, Int64, Func<TLocal>, Func<Int64, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) Executes a for loop with 64-bit indices and thread-local data in which iterations may run in parallel, and the state of the loop can be monitored and manipulated.
Public method Static member For<TLocal>(Int32, Int32, ParallelOptions, Func<TLocal>, Func<Int32, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) Executes a for 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.
Public method Static member For<TLocal>(Int64, Int64, ParallelOptions, Func<TLocal>, Func<Int64, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) Executes a for loop with 64-bit indices 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.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ