Compartilhar via


TimesheetEventReceiver.OnCreating método

Um manipulador de eventos anteriores para o método CreateTimesheet .

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

Sintaxe

'Declaração
Public Overridable Sub OnCreating ( _
    contextInfo As PSContextInfo, _
    e As TimesheetPreCreateEventArgs _
)
'Uso
Dim instance As TimesheetEventReceiver
Dim contextInfo As PSContextInfo
Dim e As TimesheetPreCreateEventArgs

instance.OnCreating(contextInfo, e)
public virtual void OnCreating(
    PSContextInfo contextInfo,
    TimesheetPreCreateEventArgs e
)

Parâmetros

Comentários

Para obter informações sobre como criar um manipulador de eventos, consulte How to: Create a Project Server Event Handler and Log an Event.

Para obter informações sobre eventos de relatório Data Service (RDS) adicionais para alteração de dados de quadro de horários no banco de dados de relatórios, consulte eventos de RDB.

Ver também

Referência

TimesheetEventReceiver classe

TimesheetEventReceiver membros

Microsoft.Office.Project.Server.Events namespace