ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core.Events Namespace / ArcGISPortalAddedEvent Class / Unsubscribe Method / Unsubscribe(SubscriptionToken) Method
The ArcGIS.Core.Events.SubscriptionToken returned when subscribing to the event.
Version

Unsubscribe(SubscriptionToken) Method
Removes the subscriber matching the ArcGIS.Core.Events.SubscriptionToken
Syntax
public static void Unsubscribe( 
   SubscriptionToken token
)

Parameters

token
The ArcGIS.Core.Events.SubscriptionToken returned when subscribing to the event.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also