ReceiveActivity.IEventActivity.Unsubscribe 方法

定义

取消 Activity 对事件的订阅。

 virtual void System.Workflow.Activities.IEventActivity.Unsubscribe(System::Workflow::ComponentModel::ActivityExecutionContext ^ parentContext, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::QueueEventArgs ^> ^ parentEventHandler) = System::Workflow::Activities::IEventActivity::Unsubscribe;
void IEventActivity.Unsubscribe (System.Workflow.ComponentModel.ActivityExecutionContext parentContext, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> parentEventHandler);
abstract member System.Workflow.Activities.IEventActivity.Unsubscribe : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> -> unit
override this.System.Workflow.Activities.IEventActivity.Unsubscribe : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs> -> unit
Sub Unsubscribe (parentContext As ActivityExecutionContext, parentEventHandler As IActivityEventListener(Of QueueEventArgs)) Implements IEventActivity.Unsubscribe

参数

parentContext
ActivityExecutionContext

表示 ActivityExecutionContext 活动的执行环境的 WebServiceInputActivity

parentEventHandler
IActivityEventListener<QueueEventArgs>

处理事件的 EventHandler。 此事件处理程序为父活动所有。

实现

适用于