Share via


NotificationsEventReceiver.OnSent - Méthode

Un gestionnaire d'événements après que cet événement se produit une fois que Project Server envoie une notification d'alerte ou un rappel.

Espace de noms :  Microsoft.Office.Project.Server.Events
Assembly :  Microsoft.Office.Project.Server.Events.Receivers (dans Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntaxe

'Déclaration
Public Overridable Sub OnSent ( _
    contextInfo As PSContextInfo, _
    e As NotificationsPostSendEventArgs _
)
'Utilisation
Dim instance As NotificationsEventReceiver
Dim contextInfo As PSContextInfo
Dim e As NotificationsPostSendEventArgs

instance.OnSent(contextInfo, e)
public virtual void OnSent(
    PSContextInfo contextInfo,
    NotificationsPostSendEventArgs e
)

Paramètres

Remarques

Utilisez les propriétés SubjectLine et xmlBody pour obtenir le contenu de la notification envoyée. Pour modifier le contenu de la notification, créez un gestionnaire d'événements avant de OnSending . La classe Notification répertorie les alertes et rappels.

Pour plus d'informations sur la création d'un gestionnaire d'événements, voir How to: Create a Project Server Event Handler and Log an Event.

Voir aussi

Référence

NotificationsEventReceiver classe

NotificationsEventReceiver - Membres

Microsoft.Office.Project.Server.Events - Espace de noms

OnSending

Autres ressources

Comment : personnaliser la messagerie pour les Notifications Project Server