且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Windows phone 8 中使用 App.Current.Terminate() 方法

更新时间:2023-11-10 14:19:34

使用此调用时认证不会有任何问题,但请确保在调用此调用时已将所有数据保存在应用程序中,因为此调用有效立即杀死您的应用程序 - 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!