询问者
紧急求救,关闭应用后再迅速启动,发现程序没有将数据保存并恢复,好像是程序没有立即进入挂起状态导致的,请问这个如何处理

问题
全部回复
-
Hi,
如果直接关闭的话程序并不会进行挂起操作,而是直接终止,而且这个事件我们检测不到,一般来说商店应用不推荐直接关闭应用。如果这是用户的行为,我建议在页面导航的时候或者在其他动作中随时保存用户数据。
Aaron
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.