nityaprakash's Blog (October 2014)

Basic Exception Handling in TPL

 25-Oct-2014   nityaprakash     TPL  Exception-Handling 

When a task throw exception it cannot be catch into main method. In earlier cases (before TPL) we had to handle exception in same method which being executed in separate thread. Handling exception in thread is as necessary as in main application. It...

Read More

Handling Multiple Exception in a Task

 29-Oct-2014   nityaprakash     TPL  Exception-Handling 

When we are expecting more than one exception in a set of task than we have Handle() delegate provided by AggregateException. We can provide our implementation to Handle method. This will be executed for each exception returned...

Read More