HandleExternalEventActivity::IEventActivity::Unsubscribe Method (ActivityExecutionContext^, IActivityEventListener<QueueEventArgs^>^)
.NET Framework (current version)
Cancels the subscription of the HandleExternalEventActivity activity to an event.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
private: virtual void Unsubscribe( ActivityExecutionContext^ parentContext, IActivityEventListener<QueueEventArgs^>^ parentEventHandler ) sealed = IEventActivity::Unsubscribe
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
Available since 3.0
HandleExternalEventActivity Class
System.Workflow.Activities Namespace
Using the HandleExternalEvent Activity
Show: