Quantcast
Channel: Tools for Windows Store apps forum
Viewing all articles
Browse latest Browse all 1019

Why StorageFolder.CreateFileAsync(String) creates file fail without any exception thrown?

$
0
0
I need to develop a windows phone store app to test file system. And I use StorageFolder.CreateFileAsync to create a file on ApplicationData.Current.LocalFolder path and write1MB text content, and read it, modify it, and re-write it. But after about 5000 times write/read.I found that the applicaition blocked at StorageFolder.CreateFileAsync through a test method of log. However, there isn't any exception thrown. Why did the StorageFolder.CreateFileAsync  fail? And how to solve this problem? We need to write/read about 150000 times.

Viewing all articles
Browse latest Browse all 1019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>