Udostępnij za pośrednictwem


CommunicationBlockingAppSetAsActiveTrigger Class

Definition

Represents a trigger to activate a communication blocking application when it is selected as the preferred blocking app.

A user can have multiple communication blocking applications installed at one time. This trigger is used to let an application know that it has been selected as the active communication blocking application. For more information about the communication blocking API, see 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
Inheritance
Object Platform::Object IInspectable CommunicationBlockingAppSetAsActiveTrigger
Attributes
Implements

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (introduced in v1.0)

Constructors

CommunicationBlockingAppSetAsActiveTrigger()

Initializes a new instance of the CommunicationBlockingAppSetAsActiveTrigger.

Applies to

See also