共用方式為


NotificationsPreSendEventArgs.xmlBody 屬性

取得OnSending事件處理常式通知資料。

命名空間:  Microsoft.Office.Project.Server.Events
組件:  Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

語法

'宣告
Public ReadOnly Property xmlBody As String
    Get
'用途
Dim instance As NotificationsPreSendEventArgs
Dim value As String

value = instance.xmlBody
public string xmlBody { get; }

屬性值

類型:System.String

備註

您可以使用SubjectLine屬性及xmlBody屬性中的資料,以協助設計OnSending事件處理常式。如果您建立不會通知前的事件處理常式,您可以安裝的事件處理常式、 設定中斷點,並再偵錯檢查e.SubjectLine和e.xmlBody的事件處理常式。

如需詳細資訊,請參閱 < How to: 自訂用於 Project Server 通知的電子郵件

請參閱

參照

NotificationsPreSendEventArgs 類別

NotificationsPreSendEventArgs 成員

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