OnProjectCheckIn.IEventActivity.Subscribe Method
Subscribes the OnProjectCheckIn 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 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
)
Parameters
- context
Type: System.Workflow.ComponentModel.ActivityExecutionContext
The parent context of the workflow activity.
- eventHandler
Type: System.Workflow.ComponentModel.IActivityEventListener<QueueEventArgs>
The method that handles the event. The parent activity owns the event handler.
Implements
IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)