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
)
參數
contextInfo
類型:Microsoft.Office.Project.Server.Library.PSContextInfo包含 Project Server 內容資訊。