Tag: AggregateException
Parallelisation Talk examples - Cancelling Tasks
This example showed what happens when tasks are cancelled. In this example, some tasks will be able to run to completion, others will be cancelled and other...
Task status state changes
Over the course of the last couple of months I’ve blogged a lot about the Task Parallel Library and mentioned a number of statuses that a task can have, but...
Cancelling parallel tasks
UPDATE (7-June-2011): The post as it originally appeared had a bug in the code, the catch block in the task caught the wrong exception type. See the Gotcha...
Handling AggregateExceptions
I’ve written a couple of posts ( see also ) about how the AggregateException plays its part in exception handling in parallel systems. However, it has another...
Tasks that throw exceptions
I’ve blogged before about the AggregateException in .NET 4, but I missed out something that may be important. If you are using Parallel.Invoke or Parallel.For...
Parallelisation Talk Example - Aggregate Exceptions
The two code examples here show what happens when exceptions are thrown within tasks that are not handled within the task. In each case the task that has the...
Parallelisation in .NET 4.0 - Part 2 Throwing Exceptions
With more threads running simultaneously in an application there is increasing complexity when it comes to debugging. When exceptions are thrown you usually...
