locked
Help with BeginResponse RRS feed

  • General discussion

  • Im trying to read a RSS feed on a phone app (WP7), using the HttpWebRequest. According to MSDN (http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.begingetresponse%28v=VS.71%29.aspx) i need to use BeginResponse but the example doesnt seem to be very clear. My code is similar to Dim myWebRequest as HttpWebRequest = Webrequest.Create("http://site/content/feed.xml") myWebRequest.BeginResponse(?) Its at this stage im confused what should be passed in as the two types are AsyncCallback and Object, If i create a new AsyncCallback it needs to use AddressOf.... if i hold the result in IAsyncResult it seems it needs a type of RequestState but not sure if this is a type that the developer forgot to mention in his code or if im missing some declaration for VB .Net? Any help would be great. Thanks
    Tuesday, January 4, 2011 3:16 PM

All replies