SessionConnected trigger

cay7man 21 Reputation points
2020-08-24T19:01:11.067+00:00

Hello, I've an app with an out-of-proc backtround task that triggers on SessionConnected trigger. The task was getting triggered when I restart/coldboot (shutdown, boot) the system but not when the system was put into hibernate/sleep power state. Is this a limitation?

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
    2020-08-25T07:16:30.24+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Yes. The sessionConnected trigger won't trigger when the system is in the hibernate/sleep power state. If you want to trigger every time when the user is login. You could try another system trigger: UserPresent Trigger. It will trigger the background when you get out of hibernating state

    Thank you.


0 additional answers

Sort by: Most helpful