现在我有这段代码:
public void getRankingList(string country,string type)
{
WebClient client = new WebClient();
client.AllowReadStreamBuffering = true;
string url = "......";
client.DownloadStringCompleted += getRankingResult;
client.DownloadStringAsync(new Uri(url, UriKind.Absolute));
}
private void getRankingResult(object sender, DownloadStringCompletedEventArgs e)
{
.........
}
所以现在我能否向downloadCompleted事件中添加一些段落呢?比如说:
private void getRankingResult(object sender, DownloadStringCompletedEventArgs e, string Para)
{
.........
}