首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

WebClient AsyncCompletedEventHandler方法如何附近个参数

2012-03-15 
WebClient AsyncCompletedEventHandler方法怎么附近个参数?HttpClient httpClient new HttpClient(new C

WebClient AsyncCompletedEventHandler方法怎么附近个参数?
HttpClient httpClient = new HttpClient(new CookieContainer());//WebClient的重写
  httpClient.DownloadFileCompleted += new System.ComponentModel.AsyncCompletedEventHandler(AsyncDownloadFileCompleted);
//AsyncDownloadFileCompleted方法,我想在这个方法里头再传递一个参数,该如何实现?

 void AsyncDownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
  {

  }

[解决办法]
我也不知道啊 自己看着办吧。

热点排行