Sunday, February 27, 2011

AggregateException In Parallel Programming

AggregateException which can contain one or more exceptions. Suppose when you have multiple threads of execution each of the threads could throw and exception as a result .NET Framework “bundle” all of these exceptions which occurred in the parallel operations into one exception which is passed (thrown) back to the caller. Acting as a container for all exceptions generated in a function is the function which the AggregateException Class performs.

To Understand any new concept its better to show in an action with Example.





No comments: