According to Metro Application Lifetime sample and related document, it description about Metro app about suspend/resume.

However, I also find I could not make my Metro app enter suspend mode, so I try to figure out some answer from MSFT forum. Refer here and here.

Here is my summary for this:

  1. When leave app about 5 sec or trigger another app about 5 sec, the “suspend” event will called.

  2. “Suspends”/”Resume” event will trigger automatically when you not attach debugger on release build. See “Star without Debugging” on “debug” tab.

  3. If you using debugger, you only trigger “suspend” manually.

  4. Sleep/Hibernate will trigger “Suspend” if your app is release version without debugger attach.


Buy Me A Coffee

Evan

Attitude is everything