ArcGIS Pro 3.0 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, Windows 8.1

    See Also