PushNotificationTrigger PushNotificationTrigger PushNotificationTrigger PushNotificationTrigger Class

Definition

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

public : sealed class PushNotificationTrigger : IBackgroundTrigger
public sealed class PushNotificationTrigger : IBackgroundTrigger
Public NotInheritable Class PushNotificationTrigger Implements IBackgroundTrigger
var pushNotificationTrigger = new pushNotificationTrigger();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

PushNotificationTrigger() PushNotificationTrigger() PushNotificationTrigger() PushNotificationTrigger()

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

public : PushNotificationTrigger()
public PushNotificationTrigger()
Public Sub New()
var pushNotificationTrigger = new pushNotificationTrigger();
See Also

PushNotificationTrigger(String) PushNotificationTrigger(String) PushNotificationTrigger(String) PushNotificationTrigger(String)

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

public : PushNotificationTrigger(Platform::String applicationId)
public PushNotificationTrigger(String applicationId)
Public Sub New(applicationId As String)
var pushNotificationTrigger = new pushNotificationTrigger(applicationId);
Parameters
applicationId
Platform::String String String String

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