In continuing my video series on Task and Await, Part 3 is now available. To get code downloads, articles, and links to other videos, take a look at Exploring Task, Await, and Asynchronous Methods.
In this episode, we take a look at an alternate way of dealing with continuations with Task. There are lots of useful properties, including IsFaulted, IsCanceled, and IsCompleted. Unfortunately, IsCompleted doesn't mean what we think it means. Fortunately, we can look at Status for the information we're looking for.
Watch it on YouTube: Task and Await in C# - Part 3: IsFaulted, IsCompleted, and Task.Status
Readable version: Task Continuations: Checking IsFaulted, IsCompleted, and TaskStatus
Or watch it here:
Check out the full series playlist to see everything together:
The next episode on Cancellation Basics is coming soon!