共用方式為


ResourceCreatingHandler 委派

Resource Creating前置事件的事件處理常式。

命名空間:  Microsoft.Office.Project.Server.Events
組件:  Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

語法

'宣告
Public Delegate Sub ResourceCreatingHandler ( _
    contextInfo As PSContextInfo, _
    e As ResourceCreatePreEventArgs _
)
'用途
Dim instance As New ResourceCreatingHandler(AddressOf HandlerMethod)
public delegate void ResourceCreatingHandler(
    PSContextInfo contextInfo,
    ResourceCreatePreEventArgs e
)

參數

請參閱

參照

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