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
- 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.Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)