共用方式為


CustomFieldsEventReceiver.OnUpdating 方法

UpdateCustomFields方法前的事件處理常式。

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

語法

'宣告
Public Overridable Sub OnUpdating ( _
    contextInfo As PSContextInfo, _
    e As CustomFieldsPreEventArgs _
)
'用途
Dim instance As CustomFieldsEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CustomFieldsPreEventArgs

instance.OnUpdating(contextInfo, e)
public virtual void OnUpdating(
    PSContextInfo contextInfo,
    CustomFieldsPreEventArgs e
)

參數

備註

如需建立事件處理常式的資訊,請參閱 < How to: Create a Project Server Event Handler and Log an Event

變更報表資料庫中的自訂欄位資料的其他報表資料服務 (RDS) 事件的相關資訊,請參閱事件 RDB

請參閱

參照

CustomFieldsEventReceiver 類別

CustomFieldsEventReceiver 成員

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