"await Task.WhenAll" Shows One Exception - Here's How to See Them All

added by DotNetKicks
9/14/2020 1:11:32 PM

228 Views

When we use "await" in C#, we can use the typical try/catch blocks that we're used to. That's a great thing, and it makes asynchronous programming a lot easier. One limitation is that "await" only shows a single exception on a faulted Task. But we can use a little extra code to see all of the exceptions.


0 comments