Compartilhar via


OnProjectCheckIn.IEventActivity.Subscribe método

Assina a atividade de fluxo de trabalho de OnProjectCheckIn a um evento.

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

Sintaxe

'Declaração
Private Sub Subscribe ( _
    context As ActivityExecutionContext, _
    eventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Subscribe
'Uso
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
)

Parâmetros

Implementos

IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

Ver também

Referência

OnProjectCheckIn classe

OnProjectCheckIn membros

Microsoft.Office.Project.Server.Workflow namespace