0
kicks
async \ await and Exception Handling
async \ await and Exception Handlingasync \ await and Exception Handling
this post will discuss how async / await is handling exceptions.
as we mention in previous post, about the async / await concept, await is all about continuation.
before .NET 4.5 parallel execution exceptions has to be handle in separate of the synchronic handling.
for example:
handling ThreadPool execution:Code Snippetvoid Foo(){try {Console.WriteLine("Synchronic");ThreadPool.QueueUserWorkItem(state => {try ...