AdminEventReceiver.OnLineClassUpdatedRemote 方法
Admin – LineClassUpdated事件,以在 Project Server 之後,就會發生的遠端後置事件接收器更新做時程表列分類。
命名空間: Microsoft.Office.Project.Server.Events
組件: Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
語法
'宣告
Public Overridable Sub OnLineClassUpdatedRemote ( _
contextInfo As PSContextInfo, _
eventHandlerUid As Guid, _
e As LineClassPostUpdateEventArgs _
)
'用途
Dim instance As AdminEventReceiver
Dim contextInfo As PSContextInfo
Dim eventHandlerUid As Guid
Dim e As LineClassPostUpdateEventArgs
instance.OnLineClassUpdatedRemote(contextInfo, _
eventHandlerUid, e)
public virtual void OnLineClassUpdatedRemote(
PSContextInfo contextInfo,
Guid eventHandlerUid,
LineClassPostUpdateEventArgs e
)
參數
contextInfo
類型:Microsoft.Office.Project.Server.Library.PSContextInfo包含 Project Server 內容資訊。
eventHandlerUid
類型:System.Guid遠端事件接收器的 GUID。
實作
備註
LineClassUpdated事件發生時建立、 更新或刪除時程表列。例如,當您從作用中變更做時程表列分類為非使用Project Web App,[列分類] 頁面上,然後儲存] 頁面上,則LineClassUpdating及LineClassUpdated事件觸發。
UpdateLineClasses方法會觸發LineClassUpdated事件。在Project Server 2013 CSOM 不包含相等Admin方法。