Part 2 of my video series on Task and Await in C# is now available. Check out the code downloads and articles here: Exploring Task, Await, and Asynchronous Methods.
This time we take a look at what happens if our asynchronous method throws an exception. This is pretty easy to deal with when using the "await" operator (we just add a "catch" block). And if we need to take full control over the situation, we can use the various continuation options that are available with Task.
Direct link: Task and Await in C# - Part 2: Basic Exception Handling
Or watch it here:
Look forward to more episodes coming soon.
Happy Coding!
No comments:
Post a Comment