CommunicationBlockingAppSetAsActiveTrigger 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示一个触发器,用于在选择通信阻止应用程序作为首选阻止应用时激活该应用程序。
一个用户可以同时安装多个通信阻止应用程序。 此触发器用于让应用程序知道它已被选为活动通信阻止应用程序。 有关通信阻止 API 的详细信息,请参阅 Windows.ApplicationModel.CommunicationBlocking。
public ref class CommunicationBlockingAppSetAsActiveTrigger sealed : IBackgroundTrigger
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CommunicationBlockingAppSetAsActiveTrigger final : IBackgroundTrigger
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CommunicationBlockingAppSetAsActiveTrigger : IBackgroundTrigger
function CommunicationBlockingAppSetAsActiveTrigger()
Public NotInheritable Class CommunicationBlockingAppSetAsActiveTrigger
Implements IBackgroundTrigger
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
|
API contract |
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (在 v1.0 中引入)
|
构造函数
CommunicationBlockingAppSetAsActiveTrigger() |