次の方法で共有


NotificationsEventReceiver.OnSent メソッド

ポスト イベント ハンドラー プロジェクト サーバーが警告またはアラーム通知を送信した後に発生します。

名前空間:  Microsoft.Office.Project.Server.Events
アセンブリ:  Microsoft.Office.Project.Server.Events.Receivers (Microsoft.Office.Project.Server.Events.Receivers.dll 内)

構文

'宣言
Public Overridable Sub OnSent ( _
    contextInfo As PSContextInfo, _
    e As NotificationsPostSendEventArgs _
)
'使用
Dim instance As NotificationsEventReceiver
Dim contextInfo As PSContextInfo
Dim e As NotificationsPostSendEventArgs

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

パラメーター

注釈

送信された通知のコンテンツを取得する、 SubjectLineおよびxmlBodyプロパティを使用します。通知の内容を変更するには、 OnSendingの前のイベント ハンドラーを作成します。Notificationクラスは、通知と事前通知の一覧です。

イベント ハンドラーの作成方法の詳細については、 How to: Create a Project Server Event Handler and Log an Eventを参照してください。

関連項目

参照先

NotificationsEventReceiver クラス

NotificationsEventReceiver メンバー

Microsoft.Office.Project.Server.Events 名前空間

OnSending

その他の技術情報

にする方法: のプロジェクト サーバーの通知電子メールのカスタマイズ