问题
Toast notification in Windows 10 is behaving strange. It does not stay in the action center even if user has not taken any actions yet. This behavior is with custom notification and generic both. Toast notification is generated using a Windows desktop application not using a universal window.
回答1:
As answered here :
Win32 apps need to set up a COM server in order to have toasts persisted in Action Center: http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/10/15/quickstart-handling-toast-activations-from-win32-apps-in-windows-10.aspx
You can go on https://github.com/WindowsNotifications/desktop-toasts to view some working samples in C++ and C#.
来源:https://stackoverflow.com/questions/36165102/toast-notifications-does-not-appear-in-action-center-after-time-out