WP7中的隔离存储配额增加问题 [英] isolated storage quota increase problem in WP7

查看:117
本文介绍了WP7中的隔离存储配额增加问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在Windows Phone 7上工作,并且在应用程序中添加数据时,
我需要增加内存.

因此,我使用了IsolatedStorage.IncreaseQuotaTo(neededSpace);

其中neededSpace是一个长变量,而needSpace = 1024 * 1024 * 5;

我也在使用SilverlightPhone数据库.
http://dotnetspeak.com/index.php/2011/02/
Windows Phone 7数据库快速入门指南/

当我尝试增加隔离存储的大小时,它给出了一个异常-System.Exception
上面写着-
访问IsolatedStorage时发生错误".

谁能说为什么会这样.
预先感谢.

Hye everyone,

i m working on Windows Phone 7, and while i m adding data in the app,
i need to increase the memory.

So, i used IsolatedStorage.IncreaseQuotaTo(neededSpace);

where neededSpace is a long variable and neededSpace = 1024 * 1024 * 5;

Also i m using the SilverlightPhone Database.
http://dotnetspeak.com/index.php/2011/02/
quick-start-guide-for-windows-phone-7-database/

when i try to increase the size of the isolated storage, it gives an exception- System.Exception
which says-
"An error occured while accessing IsolatedStorage".

Can anyone say why is it happening.
Thanks in advance.

推荐答案

这是在数据库大小增加时发生的.
It was happening when the database size increases.


这篇关于WP7中的隔离存储配额增加问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆