Partager via


StatusingEventReceiver.OnAssignmentWorkDataSetting Method

A pre-event handler for the SetAssignmentWorkData method.

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

Syntax

'Declaration
Public Overridable Sub OnAssignmentWorkDataSetting ( _
    contextInfo As PSContextInfo, _
    e As AssignmentWorkDataSetPreEventArgs _
)
'Usage
Dim instance As StatusingEventReceiver
Dim contextInfo As PSContextInfo
Dim e As AssignmentWorkDataSetPreEventArgs

instance.OnAssignmentWorkDataSetting(contextInfo, _
    e)
public virtual void OnAssignmentWorkDataSetting(
    PSContextInfo contextInfo,
    AssignmentWorkDataSetPreEventArgs e
)

Parameters

Remarks

The SetAssignmentWorkData method is designed for the Microsoft Office Outlook 2007 add-in for Project. The OnAssignmentWorkDataSetting event is triggered if the changeXML parameter for SetAssignmentWorkData is well-formed XML and adheres to the SetAssignmentWorkData Schema.

For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.

See Also

Reference

StatusingEventReceiver Class

StatusingEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace

Other Resources

SetAssignmentWorkData Schema