Jeremy Bytes
byte-sized chunks of .NET
Showing posts with label
Exceptions
.
Show all posts
Showing posts with label
Exceptions
.
Show all posts
Wednesday, February 28, 2024
Continue Processing with Parallel.ForEachAsync (even when exceptions are thrown)
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. Recently, we have been exploring what happens when an exception...
Tuesday, February 27, 2024
Getting Multiple Exceptions from Parallel.ForEachAsync
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. Last time, we looked at what happens when an exception is thr...
Monday, February 26, 2024
Parallel.ForEachAsync and Exceptions
›
Parallel.ForEachAsync is a very useful tool for running code in parallel. But what happens when an exception is thrown inside the loop?...
Friday, October 6, 2023
Producer/Consumer Exception Handling - A More Reliable Approach
›
In the last 2 articles, we looked at a couple of ways to deal with exceptions that can happen when using the Producer/Consumer pattern ...
Friday, September 11, 2020
"await Task.WhenAll" Shows One Exception - Here's How to See Them All
›
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 m...
›
Home
View web version