Cancelling Tasks Started with Parallel.Invoke

added by BlackWasp
7/3/2012 8:18:44 AM

4 Kicks, 181 Views

The Parallel.Invoke method provides a simple way to execute multiple tasks in parallel, without the requirement to create Task objects directly or wait for their completion. It also permits the cancellation of the task group via cancellation tokens.