OnProjectCommit.IEventActivity.Unsubscribe Method

Cancels the subscription of the OnProjectCommit 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 Unsubscribe ( _
    context As ActivityExecutionContext, _
    eventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Unsubscribe
'Usage
Dim instance As OnProjectCommit
Dim context As ActivityExecutionContext
Dim eventHandler As IActivityEventListener(Of QueueEventArgs)

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

Parameters

Implements

IEventActivity.Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

See Also

Reference

OnProjectCommit Class

OnProjectCommit Members

Microsoft.Office.Project.Server.Workflow Namespace