If my winrt applications is a background process, non visual, can it run as a windows service?
It needs to either auto start (by OS, like a service), or a regular windows service needs to be able to start it. (Or other way that gives same result.)
If my winrt applications is a background process, non visual, can it run as a windows service?
You can't run the WinRT application as a windows service. The WinRT app runs in a App Container with a low integrity, it also has its own app lifecycle .
Background tasks are lightweight. Keeping background execution to a minimum ensures the best user experience with foreground apps and battery life.
根据您想要提供的服务类型,您实际上可以在Windows 10上使用WinRT。查看此构建讨论,并跳到有关App Services的部分: https : //channel9.msdn.com/Events/Build/2015/ 3-765
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.