Thursday, April 12, 2012 6:15 PM
I am facing issues regarding with the DeleteAsync Api. I am using BackgroundDownload api's to access data from a web service and storing it to a temporary file which i want to delete. The delete operation is executed , but i still see the app in the local data store of the app when the app is still in execution. At this point if I try to manually open the file in windows explorer, it say access denied. The file seems to actually get deleted from the local app data store only when the application is quit !
the problem is on a second run of creating the temporary file, instead of creating temp(2), the application seems to think there is a file with name temp. The app at this point throws an exception it says WWAhost.exe has thrown an exception.
I do need to delete the temporary files that i create after the json data is downloaded and read.
Are files created by BackgroundDownloader locked?
Monday, April 16, 2012 5:19 AMModerator
As far as I know that DeleteAsync and BackgroundDownload are APIs for Metro Style applications, so I think you'd better recreate one new case on the Metro Style forum here:
Vicky Song [MSFT]
MSDN Community Support | Feedback to us