I think that the problem is that the async result object that you have was created by client.BeginGetCityWeatherByZIP, which is different from client.EndGetCityForecastByZIP. I'm not sure exactly how you structured your program (what do the two GetCityWeatherByZip functions do?), so I can't give you instructions on how to fix it. Basically, structure it according to the C# Async Guidelines so that you have one function for the whole task, and it should work.
Wasabi Fan
No comments:
Post a Comment