NotificationsEventReceiver::OnSending method

Office 2013 and later

A pre-event handler that occurs before Project Server sends an alert or reminder notification.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

No code example is currently available or this language may not be supported.

Parameters

contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfo

The Project Server context information.

e
Type: Microsoft.Office.Project.Server.Events.NotificationsPreSendEventArgs

The data for the event.

Use the SubjectLine and xmlBody properties to get the notification content. You can change the notification content in an OnSending event handler. The Notification class lists alerts and reminders.

For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event. For an example that changes e-mail using the NotificationsSending event, see How to: Customize E-Mail for Project Server Notifications.

Show: