Function ICoreEventLoop.RunOnceResult.applicationExitRequested
Returns true if [ICoreEventLoop.exitApplication] was called during this event, or if the user or operating system has requested the application exit.
bool applicationExitRequested() const;
Details might be available through other means.