在Windows Phone 8.1模拟器中暂停/恢复/墓碑模拟

时间:2014-06-10 14:53:12

标签: windows-phone-8.1 resume windows-phone-8-emulator suspend tombstoning

如何在Windows Phone 8.1模拟器中模拟挂起模式? 必须触发暂停事件。 谢谢!

1 个答案:

答案 0 :(得分:2)

Romasz的评论对于暂停/恢复是正确的。您可以在应用程序通过Visual Studio运行时从Lifecycle事件下拉列表中执行此操作,如下所示:Suspending event not raising using WinRT

对于墓碑,应该在项目的属性和调试选项卡中设置一个设置,使墓碑暂停,但我无法在Visual Studio 2013中找到它。因此,我在这篇文章中遇到了绊脚石。如果我找到更多,会跟进。这是它应该是什么样子:http://developerpublish.com/how-to-enable-windows-phone-application-tombstone-in-emulator-when-debugging/