摘要: public void IndexAsync() { AsyncManager.OutstandingOperations.Increment(2); Task.Factory.StartNew(() => { string url = "http://www.cnblogs.com"; WebClient client = new WebClient(); string reply=client.DownloadString(url); System.Threading.Thread.Sleep(10000); AsyncManager.Parameters[&qu 阅读全文
posted @ 2013-02-03 21:16 bert.zeng 阅读(209) 评论(0) 推荐(0)