共用方式為


OnProjectCheckIn.IEventActivity.Subscribe 方法

訂閱OnProjectCheckIn工作流程活動的事件。

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

語法

'宣告
Private Sub Subscribe ( _
    context As ActivityExecutionContext, _
    eventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Subscribe
'用途
Dim instance As OnProjectCheckIn
Dim context As ActivityExecutionContext
Dim eventHandler As IActivityEventListener(Of QueueEventArgs)

CType(instance, IEventActivity).Subscribe(context, _
    eventHandler)
void IEventActivity.Subscribe(
    ActivityExecutionContext context,
    IActivityEventListener<QueueEventArgs> eventHandler
)

參數

實作

IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

請參閱

參照

OnProjectCheckIn 類別

OnProjectCheckIn 成員

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