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

Unsubscribe(Action<ArcGISPortalAddedEventArgs>) Method
Removes the first subscriber matching the provided delegate from the subscribers' list..
Syntax
public static void Unsubscribe( 
   Action<ArcGISPortalAddedEventArgs> action
)

Parameters

action
The delegate used when subscribing to the event.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also