Activity.UnregisterForStatusChange Method (DependencyProperty, IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs))

 

Un-registers the specified DependencyProperty for the status change event.

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

Public Sub UnregisterForStatusChange (
	dependencyProp As DependencyProperty,
	activityStatusChangeListener As IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
)

Parameters

dependencyProp
Type: System.Workflow.ComponentModel.DependencyProperty

The DependencyProperty to un-register.

activityStatusChangeListener
Type: System.Workflow.ComponentModel.IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)

The object that implements the Event Listener interface for this registration.

.NET Framework
Available since 3.0
Return to top
Show: