问题
In my UWP application I am using app service as in process background task to communicate with the win32 application to get the information.My application is not even going to suspend state. It always stays in the running state.But when i kill my win32 application it is going to suspend state.
For making application to suspend state followed steps in How to make UWP app to suspend and resume state
I also tried with the Samples provided by microsoft in git https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/AppServiceBridgeSample/cs
In this Application also I can able to see the Similar behaviour.
Is there any way to make the appplication to suspend state without killing win32 application?
来源:https://stackoverflow.com/questions/45116281/uwp-application-not-going-to-suspend-state