HandleExternalEventActivity.IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>) HandleExternalEventActivity.IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>) HandleExternalEventActivity.IEventActivity.Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>) Method

Definition

Creates the subscription of the HandleExternalEventActivity activity to an event.

 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);
Sub Subscribe (parentContext As ActivityExecutionContext, parentEventHandler As IActivityEventListener(Of QueueEventArgs)) Implements IEventActivity.Subscribe

Parameters

parentContext
ActivityExecutionContext ActivityExecutionContext ActivityExecutionContext

The ActivityExecutionContext that represents the execution environment of the Activity.

parentEventHandler
IActivityEventListener<QueueEventArgs>

The EventHandler for the parent event.

Implements

Applies to

See also