ArcGIS Pro 2.7 API Reference Guide
Unsubscribe(SubscriptionToken) Method

ArcGIS.Desktop.TaskAssistant.Events Namespace > TaskEndedEvent Class > Unsubscribe Method : Unsubscribe(SubscriptionToken) Method
A subscription token that was returned by Subscribe.
Unsubscribe from TaskEndedEvents 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 10, Windows 8.1

See Also

Reference

TaskEndedEvent Class
TaskEndedEvent Members
Overload List