通过应用程序生命周期漫游设置/文件夹行为 [英] Roaming settings / folder behavior through application lifetime

查看:113
本文介绍了通过应用程序生命周期漫游设置/文件夹行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我面临的特殊问题是虽然我可以访问漫游设置和文件夹,但是在我退出应用程序后创建一个文件然后再读取它并重新打开它,当我卸载应用程序时,我丢失了所有漫游数据(我预计这种行为仅为本地应用程序数据

 the particular problem I am facing is that though I can access roam settings and folder, create a file and then read it after I quit the application and reopen it, when I uninstall the application I loose all the roamed data (I expected this behavior only for local app data)

 所以,如果我松开漫游卸载应用程序时的数据,然后这不适用于不同设备中的多个安装。我在这里缺少什么?漫游工作正常吗?

 So, if I loose the roam data when I uninstall the app, then this cannot work with several installs in different devices. What I am missing here? Is roaming working fine?

 另外,正如我在另一个帖子中指出的那样,DataChanged事件从未触发过。

 Also, as I pointed in another thread, DataChanged event in never triggered.

推荐答案

您好,

您能否提供一个示例代码来重现此问题?

Would you please provide us a sample codes to reproduce this issue?

我刚刚找到了一个关于响应漫游事件的示例代码,我希望你能从中获得帮助。

http://code.msdn.microsoft.com/windowsapps/ApplicationData-sample-fb043eb2

I just found a sample codes about Responding to roaming events, and I hope you can get help from it.
http://code.msdn.microsoft.com/windowsapps/ApplicationData-sample-fb043eb2

祝你好运,

Jesse

Best regards,
Jesse


这篇关于通过应用程序生命周期漫游设置/文件夹行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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