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)
 
 
 
 
 
(1)
1,083 times
Add to favorites
5/13/2013
E-mail Twitter del.icio.us Digg Facebook