在 Windows phone 8 中使用 App.Current.Terminate() 方法 [英] Using App.Current.Terminate() method in Windows phone 8

查看:28
本文介绍了在 Windows phone 8 中使用 App.Current.Terminate() 方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于 windows phone 8 为我们提供了这种以编程方式终止应用程序的方法,如果我们在应用程序中使用它来终止页面而导航历史记录中没有后台入口,那么在应用程序提交时会不会有任何问题?

As windows phone 8 provides us with this method for programmatically terminate an app, will there be any issue while app submission if we use this in app for terminating a page while there is no backentry in the navigation history?

推荐答案

使用此调用时认证不会有任何问题,但请确保在调用此调用时已将所有数据保存在应用程序中,因为此调用有效立即杀死您的应用程序 - ApplicationClosing 即使处理程序在它之后也不会被引发!

There won't be any issue in certification when using this call, but make sure you have saved all data in your app when calling this, because this call effectively kills your app immediately - ApplicationClosing even handler won't be raised after it!

这篇关于在 Windows phone 8 中使用 App.Current.Terminate() 方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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