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.

In This Topic
    Unsubscribe(Action<TaskEndedEventArgs>) Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also