System.Threading.Tasks.Parallel: Method Members

The methods of System.Threading.Tasks.Parallel are listed below. For a list of all members, see the Parallel Members list.

See Also: Inherited members from System.Object

Public Methods

static
For(int, int, Action<int, ParallelLoopState>) : ParallelLoopResult

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.

static
For(int, int, Action<int>) : ParallelLoopResult

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

static
For(long, long, Action<long, ParallelLoopState>) : ParallelLoopResult

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.

static
For(long, long, Action<long>) : ParallelLoopResult

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

static
For(int, int, ParallelOptions, Action<int, ParallelLoopState>) : ParallelLoopResult

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.

static
For(int, int, ParallelOptions, Action<int>) : ParallelLoopResult

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

static
For(long, long, ParallelOptions, Action<long, ParallelLoopState>) : ParallelLoopResult

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.

static
For(long, long, ParallelOptions, Action<long>) : ParallelLoopResult

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.

static
For<TLocal>(int, int, Func<TLocal>, Func<int, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
For<TLocal>(long, long, Func<TLocal>, Func<long, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
For<TLocal>(int, int, ParallelOptions, Func<TLocal>, Func<int, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
For<TLocal>(long, long, ParallelOptions, Func<TLocal>, Func<long, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
ForEach<TSource>(System.Collections.Concurrent.OrderablePartitioner<TSource>, Action<TSource, ParallelLoopState, long>) : ParallelLoopResult

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

static
ForEach<TSource>(System.Collections.Concurrent.Partitioner<TSource>, Action<TSource, ParallelLoopState>) : ParallelLoopResult

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.

static
ForEach<TSource>(System.Collections.Concurrent.Partitioner<TSource>, Action<TSource>) : ParallelLoopResult

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

static
ForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState, long>) : ParallelLoopResult

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.

static
ForEach<TSource>(IEnumerable<TSource>, Action<TSource, ParallelLoopState>) : ParallelLoopResult

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.

static
ForEach<TSource>(IEnumerable<TSource>, Action<TSource>) : ParallelLoopResult

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

static
ForEach<TSource>(System.Collections.Concurrent.OrderablePartitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, long>) : ParallelLoopResult

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

static
ForEach<TSource>(System.Collections.Concurrent.Partitioner<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>) : ParallelLoopResult

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

static
ForEach<TSource>(System.Collections.Concurrent.Partitioner<TSource>, ParallelOptions, Action<TSource>) : ParallelLoopResult

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

static
ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState, long>) : ParallelLoopResult

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.

static
ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource, ParallelLoopState>) : ParallelLoopResult

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.

static
ForEach<TSource>(IEnumerable<TSource>, ParallelOptions, Action<TSource>) : ParallelLoopResult

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.

static
ForEach<TSource,TLocal>(System.Collections.Concurrent.OrderablePartitioner<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, long, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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

static
ForEach<TSource,TLocal>(System.Collections.Concurrent.Partitioner<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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

static
ForEach<TSource,TLocal>(IEnumerable<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, long, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
ForEach<TSource,TLocal>(IEnumerable<TSource>, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
ForEach<TSource,TLocal>(System.Collections.Concurrent.OrderablePartitioner<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, long, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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

static
ForEach<TSource,TLocal>(System.Collections.Concurrent.Partitioner<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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

static
ForEach<TSource,TLocal>(IEnumerable<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, long, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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.

static
ForEach<TSource,TLocal>(IEnumerable<TSource>, ParallelOptions, Func<TLocal>, Func<TSource, ParallelLoopState, TLocal, TLocal>, Action<TLocal>) : ParallelLoopResult

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..

static
Invoke(params Action[])

Executes each of the provided actions, possibly in parallel.

static
Invoke(ParallelOptions, params Action[])

Executes each of the provided actions, possibly in parallel, unless the operation is cancelled by the user.