PushNotificationTrigger PushNotificationTrigger PushNotificationTrigger PushNotificationTrigger Class

Represents an object that invokes a background work item on the app in response to the receipt of a RawNotification.

Syntax

Declaration

public sealed class PushNotificationTriggerpublic sealed class PushNotificationTriggerPublic NotInheritable Class PushNotificationTrigger

Constructors summary

Invokes a background work item on the app in response to the receipt of a RawNotification.

Invokes a background work item on a specified app in response to the receipt of a RawNotification.

Constructors

  • PushNotificationTrigger()
    PushNotificationTrigger()
    PushNotificationTrigger()
    PushNotificationTrigger()

    Invokes a background work item on the app in response to the receipt of a RawNotification.

    public PushNotificationTrigger()public PushNotificationTrigger()Public Function PushNotificationTrigger() As
  • PushNotificationTrigger(System.String)
    PushNotificationTrigger(System.String)
    PushNotificationTrigger(System.String)
    PushNotificationTrigger(System.String)

    Invokes a background work item on a specified app in response to the receipt of a RawNotification.

    public PushNotificationTrigger(System.String applicationId)public PushNotificationTrigger(System.String applicationId)Public Function PushNotificationTrigger(applicationId As System.String) As

    Parameters

    • applicationId
      System.String
      System.String
      System.String
      System.String

      The app's Package Relative Application ID (PRAID). The specified app must be in the same package as the calling app.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.ApplicationModel.Background.dll