Well basically I want to record the uri which produces an error when testing, using the debugger I can find the uri which failed, however I don’t know how to retrieve it, here’s a print screen below
http://img802.imageshack.us/img802/5465/progps.jpg
Advice appreciated.
Rather than call
WebClient.DownloadStringAsync(Uri), call the overload,DownloadString(Uri, Object), passing theUrias the second parameter. Then, in the event handler, you can cast the value ofe.UserTokentoUrito retrieve the value. That is:You can use this technique to pass any kind of state to the event handler.