NotificationsEventReceiver.OnSent método
Um manipulador de POST-eventos que ocorre depois que o Project Server envia uma notificação de alerta ou um lembrete.
Namespace: Microsoft.Office.Project.Server.Events
Assembly: Microsoft.Office.Project.Server.Events.Receivers (em Microsoft.Office.Project.Server.Events.Receivers.dll)
Sintaxe
'Declaração
Public Overridable Sub OnSent ( _
contextInfo As PSContextInfo, _
e As NotificationsPostSendEventArgs _
)
'Uso
Dim instance As NotificationsEventReceiver
Dim contextInfo As PSContextInfo
Dim e As NotificationsPostSendEventArgs
instance.OnSent(contextInfo, e)
public virtual void OnSent(
PSContextInfo contextInfo,
NotificationsPostSendEventArgs e
)
Parâmetros
contextInfo
Tipo: Microsoft.Office.Project.Server.Library.PSContextInfoAs informações de contexto do Project Server.
e
Tipo: Microsoft.Office.Project.Server.Events.NotificationsPostSendEventArgsOs dados para o evento.
Comentários
Use as propriedades SubjectLine e xmlBody para obter o conteúdo da notificação enviada. Para alterar o conteúdo de notificação, crie um manipulador de Pre-eventos OnSending . A classe Notification lista alertas e lembretes.
Para obter informações sobre como criar um manipulador de eventos, consulte How to: Create a Project Server Event Handler and Log an Event.
Ver também
Referência
NotificationsEventReceiver classe
NotificationsEventReceiver membros
Microsoft.Office.Project.Server.Events namespace
Outros recursos
Como: personalizar o email para notificações do servidor de projeto