Use Task-based Asynchronous Pattern

The sample demonstrate how to use Task-based asynchronous pattern to archieve the asynchronous programming. The sample use Task class to execute download file from web server. TAP also can support cancellation of the asynchronous operation and the report of the progress.

C# (158.5 KB)
5 Star
1,894 times
Add to favorites
E-mail Twitter Digg Facebook