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

 

Creates the subscription of the HandleExternalEventActivity activity to an event.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

private:
virtual void Subscribe(
	ActivityExecutionContext^ parentContext,
	IActivityEventListener<QueueEventArgs^>^ parentEventHandler
) sealed = IEventActivity::Subscribe

Parameters

parentContext
Type: System.Workflow.ComponentModel::ActivityExecutionContext^

The ActivityExecutionContext that represents the execution environment of the Activity.

parentEventHandler
Type: System.Workflow.ComponentModel::IActivityEventListener<QueueEventArgs^>^

The EventHandler for the parent event.

.NET Framework
Available since 3.0
Return to top
Show: