我想在删除 OOB 应用程序时删除存储在独立存储中的文件
我想在删除 OOB 应用程序时删除存储在独立存储中的文件。我怎样才能删除这些文件?
谢谢
I want to delete the files stored in Isolated Storage when the OOB app is removed. How can i delete these files?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好问题!
本文介绍了如何在应用程序卸载时自动执行此过程:
请参阅卸载部分了解更多详情。
编辑:
正如 AnthonyWJones 提到的,Silverlight 和 Destop 应用程序隔离存储模型之间存在差异,因此我引用的文章对您的问题范围没有多大帮助,对此表示抱歉。我发现下面的 SO 帖子说文件仍然保留,用户可以自己删除它们,我不确定是否存在其他选项,如果发现任何内容,会让您知道。
SO 帖子:独立存储、OOB 和删除应用
Good question!
This article describes how to automate this process whilst an application uninstallation:
see Uninstallation section for more details.
EDIT:
As AnthonyWJones mentioned there is difference between Silverlight and Desctop application isolated Storage models, so article I've referenced is not pretty helpful in scope of your question, sorry for that. I've found following SO post which saying that files still remain and user could delete them himself, I'm not sure whether an other option exists, will let you know if found anything.
SO Post: Isolated Storage, OOB, and Removing the App