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

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, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also