CalendarEventReceiver.OnCreating 方法

前期事件处理程序的CreateCalendars方法。

命名空间:  Microsoft.Office.Project.Server.Events
程序集:  Microsoft.Office.Project.Server.Events.Receivers(位于 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

语法

声明
Public Overridable Sub OnCreating ( _
    contextInfo As PSContextInfo, _
    e As CalendarPreEventArgs _
)
用法
Dim instance As CalendarEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CalendarPreEventArgs

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

参数

备注

有关创建事件处理程序的信息,请参阅How to: Create a Project Server Event Handler and Log an Event

另请参阅

引用

CalendarEventReceiver 类

CalendarEventReceiver 成员

Microsoft.Office.Project.Server.Events 命名空间