开发者

Isolated storage available space equals 0

I tried to increase available space for our app, but when I call isolatedStorageFile.IncreaseQuotaTo(1024*1024*30);, nothing happens. Also isolatedStorageFile.AvailableFreeSpace equals 0. W开发者_开发百科hy could it happen?


I'm going to guess that your call to IncreaseQuotaTo is not user-initiated (i.e.: within a button-click handler, or something similar). In order for this method call to succeed, it must be initiated by the user, not by code.

Also, if you're debugging and have a breakpoint in your code, anything that happens after the breakpoint is not considered to be user-initiated, no matter where the code is executed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜