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>)