OnProjectSubmit.IEventActivity.Subscribe 方法

订阅事件的OnProjectSubmit工作流活动。

命名空间:  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 OnProjectSubmit
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>)

另请参阅

引用

OnProjectSubmit 类

OnProjectSubmit 成员

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