共用方式為


AdminEventReceiver.OnLineClassUpdating 方法

Admin – LineClassUpdating事件發生在 Project Server 更新做時程表列分類本機前的事件處理常式。

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

語法

'宣告
Public Overridable Sub OnLineClassUpdating ( _
    contextInfo As PSContextInfo, _
    e As LineClassPreUpdateEventArgs _
)
'用途
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim e As LineClassPreUpdateEventArgs

instance.OnLineClassUpdating(contextInfo, _
    e)
public virtual void OnLineClassUpdating(
    PSContextInfo contextInfo,
    LineClassPreUpdateEventArgs e
)

參數

備註

LineClassUpdating事件發生在建立、 更新或刪除時程表列。例如,當您從作用中變更做時程表列分類為非使用Project Web App,[列分類] 頁面上,然後儲存] 頁面上,則LineClassUpdating及LineClassUpdated事件觸發。

UpdateLineClasses方法會觸發LineClassUpdating事件。在Project Server 2013 CSOM 不包含相等Admin方法。

請參閱

參照

AdminEventReceiver 類別

AdminEventReceiver 成員

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