The Tasks window was added to the Visual Studio debugger in the 2010 version when the TPL was added to .NET in Version 4.0. It is similar to the Threads window and shows information about each task in your application. Tasks are created using the
System.Threading.Tasks.Task class or by using the
await keywords. The
await keywords were introduced in Version 4.5 of .NET and will be covered in Chapter 11, The Asynchronous Programming Model. Like the Threads window, it can be accessed from the debugger in Visual Studio by navigating to Debug | Windows:
Let's examine the information and functions you can use ...