共用方式為


ResourceDeactivatingHandler 委派

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

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

語法

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

參數

請參閱

參照

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