Windows Dev Center

PushNotificationTrigger class

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();

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

 

 

Show:
© 2015 Microsoft