共用方式為


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
)

參數

  • eventHandlerUid
    類型:System.Guid

    遠端事件接收器的 GUID。

實作

IAdminEventReceiverRemote.OnLineClassUpdatedRemote(PSContextInfo, Guid, LineClassPostUpdateEventArgs)

備註

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

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

請參閱

參照

AdminEventReceiver 類別

AdminEventReceiver 成員

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