Hello, WebClient.DownloadDataAsync to download a file (epub) > When the download starts I actually show an AlertView to display the > progress of the download with a cancel button to give the user the > possibility to > Cancel the download (e.g. When he is on 3G and download is slow). > When the user presses the cancelbutton I actually call > WebClient.CancelAsync(); to interrupt the download. > In my DataCompleted Routine I do a check on e.cancelled to figure out if > the user has cancelled or not (or at least not break at that point) > > So far So good and all these pieces run good (without any problem) but > after the code of DownloadCompleted has finished Mono throws me the > exception > System.Threading.ThreadInterrupedException. >
Without a test case, it is hard to tell what is going on. I wrote my own test case based on the description above, and I was not able to reproduce the problem. Probably my test-case is not an exact replica of the problem. Miguel
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
