AdminEventReceiver.OnLineClassUpdatedRemote method
A remote post-event receiver for the Admin – LineClassUpdated 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)
Syntax
'Declaration
Public Overridable Sub OnLineClassUpdatedRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As LineClassPostUpdateEventArgs _
)
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As LineClassPostUpdateEventArgs
instance.OnLineClassUpdatedRemote(contextInfo, _
eventHandlerUid, e)
public virtual void OnLineClassUpdatedRemote(
PSContextInfo contextInfo,
Guid eventHandlerUid,
LineClassPostUpdateEventArgs e
)
Parameters
contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfoContains the Project Server context information.
eventHandlerUid
Type: System.GuidThe GUID of the remote event receiver.
e
Type: Microsoft.Office.Project.Server.Events.LineClassPostUpdateEventArgsThe data for the event.
Implements
Remarks
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.