Can I stop my app quitting if the user locks their computer?

Part of my app has a long-running activity in it. I've observed that if I lock the screen on my computer (Win+L) then, after a while, the app stops running. My app survives that and the resuming but the problem is that there isn't really a good reason
why it couldn't carry on running and processing the long-running activity ... except for the fact that the OS killed the app.
Is there a setting or similar that I can use to stop my app being told to quit?
I can't switch over to using a background task because they aren't allowed to do enough work. The long-running activity would being a *really* long running activity then :-(
I just need to find a way of stopping the app from quitting, if possible.
Thanks.

No, there's no way to prevent your app from suspending. You'll need to either move long-running tasks into the background or pause them and continue when the user resumes your app.
If the purpose of the app is significant long-running background processing then it may be better as a desktop app than as a Windows Store app. If this is a side-loaded enterprise app then you can use a brokered windows runtime component to hybridize the
two.
--Rob

Similar Messages

Maybe you are looking for

  • Error message when trying to open Zoom Browser EX

    I clicked to open ZoomBrowser EX Ver6.7 but get a message "Critical Error" " Invalid Class String".  Can anyone tell me what to do?  I have tried to reload the program from the CD that came with the EOS T3.

  • Strange bug when exporting a spreadsheet to a pdf

    I am using Numbers 3.5 on a brand new Mac with Yosemite and I think that I have found a bug.  When I export a spreadsheet into either a pdf or excel file it works fine if I save it to my default location (Documents).  But if I change to a subfolder w

  • How can I avoid hard-coding this where clause in the inner select?

    This is extremely fast, but I have to hard-code the inner-most where clause, and I obviously can't do that. I know how to work-around it by creating a function that takes the CUSTOMER_ID and returns the ORDER_ID from the most recent payment, and that

  • HP 7510eseries all in one

    I was wondering if the color cartridges 564xl will fit in my printer? If they are big like the hpxl black cartridge they will not fit.

  • Print out not comming

    Hi, I worked with 2 output types LD01 and LD00. For LD01 Print is comming but LD00 it's not comming. When ever i press print in Spool Request is genarated and status was Completed for both output types,but LD00 it's not comming print. Printers are sa