CommunicationBlockingAppSetAsActiveTrigger 类

定义

表示一个触发器,用于在选择通信阻止应用程序作为首选阻止应用时激活该应用程序。

一个用户可以同时安装多个通信阻止应用程序。 此触发器用于让应用程序知道它已被选为活动通信阻止应用程序。 有关通信阻止 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
继承
Object Platform::Object IInspectable CommunicationBlockingAppSetAsActiveTrigger
属性
实现

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (在 v1.0 中引入)

构造函数

CommunicationBlockingAppSetAsActiveTrigger()

初始化 CommunicationBlockingAppSetAsActiveTrigger 的新实例。

适用于

另请参阅