未显示Windows服务Toast通知 [英] Windows Service Toast Notification Not Shown
本文介绍了未显示Windows服务Toast通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
https://github.com/noxad/windows-toast-notifications
我正在运行此应用程序"windows桌面应用程序"。但是,相同的代码不会在Windows Servic项目中显示警报表单。
I am running this application "windows desktop application". However, the same code does not show the alert form in the Windows Servic project.
1905
推荐答案
Windows服务不能有UI。它们不会在桌面会话中运行,因此不会显示任何UI。服务需要的任何UI都必须作为一个单独的应用程序实现,该应用程序在用户登录并使用IPC与
服务进行通信时启动。
这篇关于未显示Windows服务Toast通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文