ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.TaskAssistant.Events Namespace / TaskStartedEvent Class / Unsubscribe Method / Unsubscribe(SubscriptionToken) Method
A subscription token that was returned by Subscribe.

In This Topic
    Unsubscribe(SubscriptionToken) Method
    In This Topic
    Unsubscribe from TaskStartedEvents by specifying the token that was returned by Subscribe.
    Syntax
    public static void Unsubscribe( 
       SubscriptionToken token
    )
    Public Overloads Shared Sub Unsubscribe( _
       ByVal token As SubscriptionToken _
    ) 

    Parameters

    token
    A subscription token that was returned by Subscribe.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also