ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Events Namespace / GPExecuteToolEvent Class / Unsubscribe Method / Unsubscribe(Action<GPExecuteToolEventArgs>) Method
The delegate used when subscribing to the event.

In This Topic
    Unsubscribe(Action<GPExecuteToolEventArgs>) Method
    In This Topic
    Removes the first subscriber matching the provided delegate from the subscribers' list..
    Syntax
    public static void Unsubscribe( 
       Action<GPExecuteToolEventArgs> action
    )
    Public Overloads Shared Sub Unsubscribe( _
       ByVal action As Action(Of GPExecuteToolEventArgs) _
    ) 

    Parameters

    action
    The delegate used when subscribing to the event.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also