c# - Windows phone issue with OpenStreamForReadAsync -


i'm reading xml file on windows phone 8 below:

 windows.storage.storagefolder localfolder =                           windows.storage.applicationdata.current.localfolder;   var file = await localfolder.getfileasync("myxml.xml");  var stream = await file.openstreamforreadasync();   xdocument mydocument = xdocument.load(stream); 

it doesn't happen application stuck @ file.openstreamforreadasync. no exception, no return ... nothing. doesn't anything.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -