AdminEventReceiver::OnLineClassUpdated method

Office 2013 and later

A local post-event handler for the AdminLineClassUpdated event, which occurs after Project Server updates a timesheet line classification.

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

No code example is currently available or this language may not be supported.

Parameters

contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfo

Contains the Project Server context information.

e
Type: Microsoft.Office.Project.Server.Events.LineClassPostUpdateEventArgs

The data for the event.

The LineClassUpdated event occurs when a timesheet line is created, updated, or deleted. For example, when you change a timesheet line classification from Active to Inactive on the Line Classifications page in Project Web App, and then save the page, the LineClassUpdating and LineClassUpdated events are triggered.

The UpdateLineClasses method triggers the LineClassUpdated event. The CSOM in Project Server 2013 does not include an equivalent Admin method.

Show: