ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.TaskAssistant.Events Namespace / TaskEndedEvent Class / Unsubscribe Method / Unsubscribe(Action<TaskEndedEventArgs>) Method
The delegate that was specified to a Subscribe.
Version

Unsubscribe(Action<TaskEndedEventArgs>) Method
Unsubscribe from TaskEndedEvents by specifying the same action that was given to Subscribe.
Syntax
public static void Unsubscribe( 
   Action<TaskEndedEventArgs> action
)

Parameters

action
The delegate that was specified to a Subscribe.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also