共用方式為


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的新實例。

適用於

另請參閱