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