[UWP]在不启动应用程序的情况下通过协议需要一些信息。 [英] [UWP]Need some info through protocol without launching the app.

查看:48
本文介绍了[UWP]在不启动应用程序的情况下通过协议需要一些信息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个应用程序UWP和WPF(或任何其他类型)。我的应用程序处于最大化状态,只是以全屏启动第三方应用程序但是在启动第三方应用程序之后,它通过协议将一些信息发送到UWP应用程序,我收到的是OnActivated事件,但是当我获得信息时我的UWp是
应用程序启动,我需要防止,因为它影响已经启动的第三方应用程序。在这种情况下,UWP来自第三方应用程序。 

I have 2 apps UWP and WPF (or any other type). My app is in maximized state and just launch the third party app as a full screen but after launching third party app its send some info to UWP app through protocol which I am receiving OnActivated event but when I get info, my UWp app get launched which I need to prevent because its affecting to third party app which already launched. In this case UWP comes over third party app. 

我是否可以通过协议获取信息而无需查看已处于活动模式的第三方应用程序?

Can I get info through protocol without going over third party app which already in active mode ?

sandeep chauhan

sandeep chauhan

推荐答案

根据您的说法,您说使用协议发送信息,您将触发OnActivated事件。您正在使用协议来启动您的UWP应用程序,对吗?如果是这样,答案是否定的。使用协议的行为旨在启动应用程序。发送
信息不是此功能的主要用途。这不容忽视。

Based on your words, you said are using protocol to send information and you will trigger the OnActivated event. You are using protocol to launch your UWP app, right? If so, the answer is NO. The act that using protocol is designed to launch the app. Sending information is not the main use of this feature. This could not be ignored.

祝你好运,

Roy


这篇关于[UWP]在不启动应用程序的情况下通过协议需要一些信息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆