System.Threading.Tasks.Parallel.Invoke Method

Executes each of the provided actions, possibly in parallel.

Syntax

public static void Invoke (params Action[] actions)

Parameters

actions
An array of Action to execute.

Remarks

This method can be used to execute a set of operations, potentially in parallel.

No guarantees are made about the order in which the operations execute or whether they execute in parallel. This method does not return until each of the provided operations has completed, regardless of whether completion occurs due to normal or exceptional termination.

For more information, see How to: Use Parallel.Invoke to Execute Parallel Operations.

Requirements

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