![]() QuotesResult result = (QuotesResult)baseResult Object baseResult = resp.GetObjectResult() Sender.AsyncDownloadCompletedEvent -= this.IDownload_Completed Private void IDownload_Completed(IDownload sender, IDownloadCompletedEventArgs e) IDownload is nearly as powerfull as DownloadClient, without the generic part.ĭl.AsyncDownloadCompletedEvent += this.IDownload_Completed The second event is the non-generic AsyncDownloadCompletedEvent and is implemented by IDownload interface. So, if the settings of download object changed during async downloading, the settings of event args will have original values of current download process. The settings will be cloned before the download started. ![]() This class provides passed user arguments, used settings and the response with connection info and result data, etc. The delegate passes the DownloadCompletedEventArgs. QuotesDownloadSettings settings = (QuotesDownloadSettings)baseSettings Sender.AsyncDownloadCompleted -= this.QuotesDownload_Completed Private void QuotesDownload_Completed(DownloadClient sender, Dl.AsyncDownloadCompleted += this.QuotesDownload_Completed
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |