Aracılığıyla paylaş


HandleExternalEventActivity.IEventActivity.Subscribe Yöntem

Tanım

Etkinliğin HandleExternalEventActivity bir olaya aboneliğini oluşturur.

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

Parametreler

parentContext
ActivityExecutionContext

yürütme ActivityExecutionContext ortamını temsil eden.Activity

parentEventHandler
IActivityEventListener<QueueEventArgs>

EventHandler Üst olay için.

Uygulamalar

Şunlara uygulanır

Ayrıca bkz.