PushNotificationTrigger Constructors

Definition

Overloads

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.

PushNotificationTrigger()

Invokes a background work item on the app in response to the receipt of a raw notification.

public:
 PushNotificationTrigger();
 PushNotificationTrigger();
public PushNotificationTrigger();
function PushNotificationTrigger()
Public Sub New ()

See also

Applies to

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);
 PushNotificationTrigger(winrt::hstring const& applicationId);
public PushNotificationTrigger(string applicationId);
function PushNotificationTrigger(applicationId)
Public Sub New (applicationId As String)

Parameters

applicationId
String

Platform::String

winrt::hstring

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.

Applies to