共用方式為


NotificationsPreSendEventArgs.xmlBody Property

Gets notification data for an OnSending event handler.

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

Syntax

'Declaration
Public ReadOnly Property xmlBody As String
    Get
'Usage
Dim instance As NotificationsPreSendEventArgs
Dim value As String

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

Property Value

Type: System.String

Remarks

You can use data in the SubjectLine property and the xmlBody property to help design an OnSending event handler. If you create a notifications pre-event handler that does nothing, you can install the event handler, set a breakpoint, and then debug the event handler to examine e.SubjectLine and e.xmlBody.

For more information, see How to: Customize E-Mail for Project Server Notifications.

See Also

Reference

NotificationsPreSendEventArgs Class

NotificationsPreSendEventArgs Members

Microsoft.Office.Project.Server.Events Namespace