StatusingEventReceiver.OnTaskCreating método
Um manipulador de eventos anteriores para o método CreateNewAssignment .
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 OnTaskCreating ( _
contextInfo As PSContextInfo, _
e As StatusCreateTaskPreEventArgs _
)
'Uso
Dim instance As StatusingEventReceiver
Dim contextInfo As PSContextInfo
Dim e As StatusCreateTaskPreEventArgs
instance.OnTaskCreating(contextInfo, _
e)
public virtual void OnTaskCreating(
PSContextInfo contextInfo,
StatusCreateTaskPreEventArgs e
)
Parâmetros
contextInfo
Tipo: Microsoft.Office.Project.Server.Library.PSContextInfoContém as informações de contexto do Project Server.
e
Tipo: Microsoft.Office.Project.Server.Events.StatusCreateTaskPreEventArgsOs dados para o evento.
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.
Ver também
Referência
StatusingEventReceiver membros
Microsoft.Office.Project.Server.Events namespace