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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Cancels the subscription of the HandleExternalEventActivity activity to an event.

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

void IEventActivity.Unsubscribe(
	ActivityExecutionContext parentContext,
	IActivityEventListener<QueueEventArgs> parentEventHandler
)

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: