Represents an object that invokes a background work item on the app in response to the receipt of a raw notification.
Syntax
var pushNotificationTrigger = new Windows.ApplicationModel.Background.PushNotificationTrigger(string); var pushNotificationTrigger = new Windows.ApplicationModel.Background.PushNotificationTrigger();
Attributes
- ActivatableAttribute(Windows.ApplicationModel.Background.IPushNotificationTriggerFactory, NTDDI_WIN8)
- ActivatableAttribute(NTDDI_WIN8)
- ThreadingAttribute(MTA)
- VersionAttribute(NTDDI_WIN8)
Members
The PushNotificationTrigger class has these types of members:
Constructors
The PushNotificationTrigger class has these constructors.
| Constructor | Description |
|---|---|
| PushNotificationTrigger() | Invokes a background work item on the app in response to the receipt of a raw notification. |
| PushNotificationTrigger(String) | Invokes a background work item on a specified app in response to the receipt of a raw notification. |
Methods
The PushNotificationTrigger class inherits methods from the Object class (C#/VB/C++).
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
|
|
Metadata |
|
Build date: 12/4/2012