Export (0) Print
Expand All

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 (For in Visual Basic) loop in which iterations may run in parallel.
Public method Static member For(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.
Public method Static member For(Int64, Int64, Action<Int64>) Executes a for (For in Visual Basic) loop with 64-bit indexes in which iterations may run in parallel.
Public method Static member For(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.
Public method Static member For(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.
Public method Static member For(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.
Public method Static member For(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.
Public method Static member For(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.
Public method Static member For<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.
Public method Static member For<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.
Public method Static member For<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.
Public method Static member For<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.
Top
Show:
© 2014 Microsoft