TAP global exception handler
问题 This code throws an exception. Is it possible to define an application global handler that will catch it? string x = await DoSomethingAsync(); Using .net 4.5 / WPF 回答1: This is actually a good question, if I understood it correctly. I initially voted to close it, but now retracted my vote. It is important to understand how an exception thrown inside an async Task method gets propagated outside it. The most important thing is that such exception needs to be observed by the code which handles