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 : IBackgroundTriggerpublic sealed class PushNotificationTrigger : IBackgroundTriggerPublic NotInheritable Class PushNotificationTrigger Implements IBackgroundTrigger// You can use this class in JavaScript.
- 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()// You can use this method in JavaScript.
- 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)// You can use this method in JavaScript.
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.