Notification Trigger Constructors
Invokes a background work item on the app in response to the receipt of a raw notification.
Invokes a background work item on a specified app in response to the receipt of a raw notification.
public: PushNotificationTrigger(Platform::String ^ applicationId);
PushNotificationTrigger(winrt::hstring const & applicationId);
public PushNotificationTrigger(string applicationId);
Public Sub New (applicationId As String)
The package-relative application identifier (PRAID) of the app. The specified app must be in the same package as the calling app. For more info on the PRAID, see the Id attribute of the Application element.
If you are hosting background task(s) in an out-of-process COM server, separate from your main application, then pass as the argument for
applicationId the PRAID of the application that defines the
windows.backgroundTask extension in its own package manifest.