OnProjectCheckIn.IEventActivity.Unsubscribe 方法
取消订阅事件的OnProjectCheckIn工作流活动。
命名空间: Microsoft.Office.Project.Server.Workflow
程序集: Microsoft.Office.Project.Server.Workflow(位于 Microsoft.Office.Project.Server.Workflow.dll 中)
语法
声明
Private Sub Unsubscribe ( _
context As ActivityExecutionContext, _
eventHandler As IActivityEventListener(Of QueueEventArgs) _
) Implements IEventActivity.Unsubscribe
用法
Dim instance As OnProjectCheckIn
Dim context As ActivityExecutionContext
Dim eventHandler As IActivityEventListener(Of QueueEventArgs)
CType(instance, IEventActivity).Unsubscribe(context, _
eventHandler)
void IEventActivity.Unsubscribe(
ActivityExecutionContext context,
IActivityEventListener<QueueEventArgs> eventHandler
)
参数
context
类型:System.Workflow.ComponentModel.ActivityExecutionContext工作流活动的上下文。
eventHandler
类型:System.Workflow.ComponentModel.IActivityEventListener<QueueEventArgs>处理事件的方法。父活动拥有事件处理程序。
实现
IEventActivity.Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)