ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Utilities Namespace / Broadcast Class / Subscribe Method
Version

Subscribe Method (Broadcast)
Subscribes to the channel identified by the channel argument. The specified action will be invoked when a message is sent to this channel.
Syntax
public static ulong Subscribe( 
   Guid channel,
   Action<int,string> action
)

Parameters

channel
action

Return Value

A cookie identifying the subscription. This can be used to unsubscribe.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also