NotificationsEventReceiver 類別
包含當 Project Server 傳送通知或提醒時,發生OnSending和OnSent事件處理常式。
繼承階層架構
System.Object
Microsoft.Office.Project.Server.Events.NotificationsEventReceiver
命名空間: Microsoft.Office.Project.Server.Events
組件: Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
語法
'宣告
Public MustInherit Class NotificationsEventReceiver _
Implements INotificationsEventReceiverRemote
'用途
Dim instance As NotificationsEventReceiver
public abstract class NotificationsEventReceiver : INotificationsEventReceiverRemote
備註
如需建立,登錄,並偵錯事件處理常式,請參閱 < How to: Create a Project Server Event Handler and Log an Event。如需變更電子郵件使用NotificationsSending事件的範例,請參閱 < How to: 自訂用於 Project Server 通知的電子郵件。
執行緒安全
這類型的任何公用 static (共用 於 Visual Basic 中) 成員是安全執行緒。不保證任何執行個體成員都是安全執行緒。