PushNotificationTrigger Constructeurs

Définition

Surcharges

PushNotificationTrigger()

Appelle un élément de travail en arrière-plan sur l’application en réponse à la réception d’une notification brute.

PushNotificationTrigger(String)

Appelle un élément de travail en arrière-plan sur une application spécifiée en réponse à la réception d’une notification brute.

PushNotificationTrigger()

Appelle un élément de travail en arrière-plan sur l’application en réponse à la réception d’une notification brute.

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

Voir aussi

S’applique à

PushNotificationTrigger(String)

Appelle un élément de travail en arrière-plan sur une application spécifiée en réponse à la réception d’une notification brute.

public:
 PushNotificationTrigger(Platform::String ^ applicationId);
 PushNotificationTrigger(winrt::hstring const& applicationId);
public PushNotificationTrigger(string applicationId);
function PushNotificationTrigger(applicationId)
Public Sub New (applicationId As String)

Paramètres

applicationId
String

Platform::String

winrt::hstring

Identificateur d’application relatif au package (PRAID) de l’application. L’application spécifiée doit se trouver dans le même package que l’application appelante. Pour plus d’informations sur le PRAID, consultez l’attribut Id de l’élément Application .

Si vous hébergez des tâches en arrière-plan dans un serveur COM hors processus, distinct de votre application main, passez ensuite comme argument pour applicationId le PRAID de l’application qui définit l’extension windows.backgroundTask dans son propre manifeste de package.

S’applique à