首页 > 解决方案 > 打开从 UWP 到 Win32 的 AppServices 连接

问题描述

我一直在使用 AppServices。我知道我可以打开从 Win32 进程到 UWP 的连接。但我需要它反过来。是否可以从 UWP -> Win32 打开 AppServices 连接?

提前致谢

标签: c#uwpuwp-navigation

解决方案


是否可以从 UWP -> Win32 打开 AppServices 连接?

不可以。首先,你不能在你的 win32 应用程序中注册 appservice。而且您也无法在 win32 应用程序中处理连接请求,因为它需要 BackgroundActivated 事件。


推荐阅读