次の方法で共有


OnProjectSubmit.IEventActivity.Subscribe Method

Subscribes the OnProjectSubmit workflow activity to an event.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Private Sub Subscribe ( _
    context As ActivityExecutionContext, _
    eventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Subscribe
'Usage
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
)

Parameters

Implements

IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

See Also

Reference

OnProjectSubmit Class

OnProjectSubmit Members

Microsoft.Office.Project.Server.Workflow Namespace