Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PushNotificationTrigger class

Applies to Windows and Windows Phone

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

[Threading(MTA)]
[Version(0x06020000)]

Members

The PushNotificationTrigger class has these types of members:

Constructors

The PushNotificationTrigger class has these constructors.

ConstructorDescription
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.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft