Share via


AdminEventReceiver.OnLineClassUpdatingRemote method

A remote pre-event receiver for the Admin – LineClassUpdating event, which occurs before 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 Function OnLineClassUpdatingRemote ( _
    contextInfo As PSContextInfo, _
    eventHandlerUid As Guid, _
    e As LineClassPreUpdateEventArgs _
) As LineClassPreUpdateEventArgs
'Usage
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As LineClassPreUpdateEventArgs
Dim returnValue As LineClassPreUpdateEventArgs

returnValue = instance.OnLineClassUpdatingRemote(contextInfo, _
    eventHandlerUid, e)
public virtual LineClassPreUpdateEventArgs OnLineClassUpdatingRemote(
    PSContextInfo contextInfo,
    Guid eventHandlerUid,
    LineClassPreUpdateEventArgs e
)

Parameters

  • eventHandlerUid
    Type: System.Guid

    The GUID of the remote event receiver.

Return value

Type: Microsoft.Office.Project.Server.Events.LineClassPreUpdateEventArgs

Implements

IAdminEventReceiverRemote.OnLineClassUpdatingRemote(PSContextInfo, Guid, LineClassPreUpdateEventArgs)

Remarks

The LineClassUpdating event occurs before 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 LineClassUpdating event. The CSOM in Project Server 2013 does not include an equivalent Admin method.

See also

Reference

AdminEventReceiver class

AdminEventReceiver members

Microsoft.Office.Project.Server.Events namespace