locked
How to Terminate Metro Style Apps on Button Click RRS feed

  • Question

  • Hi

    I want exit(terminate) my metro style application on Button Click event.


    Ravi Shankar

    Wednesday, June 27, 2012 12:48 PM

Answers

  • As Tim says, the Windows 8 app certification requirements prohibit this:

    3.6 Your app must use the mechanisms provided by the system for those features that have them

    ...

    Your app must neither programmatically close nor offer UI affordances to close it. Windows 8 Process Lifetime Management closes Metro style apps automatically.
    • Proposed as answer by Can Bilgin Wednesday, June 27, 2012 4:11 PM
    • Marked as answer by Min ZhuMember Friday, July 6, 2012 8:40 AM
    Wednesday, June 27, 2012 3:56 PM
    Moderator

All replies