How To Manage Asynchronous Tasks Using the Task Object
You want the responsiveness that asynchronous programming in the Microsoft .NET Framework 4 provides, but also need your asynchronous methods to work with other code in your application.
Tasks have been optimized to make use of the CLR thread pool with no overhead associated with creating a dedicated thread using the Thread class. One of the good to have feature is that you can chain tasks together to execute one after the other.
Here's how the Task object answers all of your problems.
0 Comment(s)