StatusingEventReceiver.OnHistoryDeleting 方法
前期事件处理程序的DeleteStatusApprovalHistories方法。
命名空间: Microsoft.Office.Project.Server.Events
程序集: Microsoft.Office.Project.Server.Events.Receivers(位于 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
语法
声明
Public Overridable Sub OnHistoryDeleting ( _
contextInfo As PSContextInfo, _
e As StatusDeleteHistoryPreEventArgs _
)
用法
Dim instance As StatusingEventReceiver
Dim contextInfo As PSContextInfo
Dim e As StatusDeleteHistoryPreEventArgs
instance.OnHistoryDeleting(contextInfo, _
e)
public virtual void OnHistoryDeleting(
PSContextInfo contextInfo,
StatusDeleteHistoryPreEventArgs e
)
参数
contextInfo
类型:Microsoft.Office.Project.Server.Library.PSContextInfo包含项目的服务器的上下文信息。
备注
有关创建事件处理程序的信息,请参阅How to: Create a Project Server Event Handler and Log an Event。