httpwebrequest - How do I get HTTP StatusCodes other than 200 on Windows Phone 7? -


currently windows phone 7 if access page returns statuscode of 500 or besides 200 ok message saying notfound. in silverlight there couple options handling this:

  1. use silverlightfaultbehavior if control rest service (i don't though)
  2. use httpwebrequest.registerprefix("http://", webrequestcreator.clienthttp);

i'm wondering if there options windows phone 7.

all have catch webexception, , access response within that. can @ status code, response stream etc.

if that's no use you, please post code you're using , you're trying - it's hard know you've tried @ moment.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -