ArcGIS Pro 2.7 API Reference Guide
Unsubscribe(Action<TaskEndedEventArgs>) Method

ArcGIS.Desktop.TaskAssistant.Events Namespace > TaskEndedEvent Class > Unsubscribe Method : Unsubscribe(Action<TaskEndedEventArgs>) Method
The delegate that was specified to a Subscribe.
Unsubscribe from TaskEndedEvents by specifying the same action that was given to Subscribe.
Syntax
public static void Unsubscribe( 
   Action<TaskEndedEventArgs> action
)
Public Overloads Shared Sub Unsubscribe( _
   ByVal action As Action(Of TaskEndedEventArgs) _
) 

Parameters

action
The delegate that was specified to a Subscribe.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

TaskEndedEvent Class
TaskEndedEvent Members
Overload List