The Task Parallel Library Sampler – Part 9: Basic Exception handling with the AggregateException
Previous Post in this series:Part 8: Adding a New Sample, Matrices Multiplication In the updated solution you’ll find two new models, AggregateExceptionNoCatchSample and AggregateExceptionCatchSample. The TPL provides a convienient exception handling mechanism in the form of an AggregateException. If you run through a Parallel.For or .ForEach and an exception is thrown in one of the […]
. Read more