I want to simulate ApplicationExecutionState.Terminated
state.
I am doing following
1. Launching the app
2. Navigating to Desktop, waiting for App to be in suspended state
3. Killing the app using End Task from Task Manager.
This application is used for a demonstration, and previously it was in Consumer preview. At that time, above steps worked good.
Now, in Windows 8 RTM, using above steps, ApplicationExecutionState
is coming to be NotRunning
.
I want to know how to the Terminated
state?
I am already aware of following
1. By using simulator, First getting the app suspended, and then logging off from simulator.
2. By putting memory pressure in windows. This way the app will automatically get terminated. Problem is that I do-not know, how to put memory pressure.