ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Events Namespace / RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class / OnSubscribe Method
The parameter passed to the Register method
The subscription token that is assigned to the subscriber
Version

    OnSubscribe Method
    Callback made on the event instance when a subscriber subscribes to the event
    Syntax
    protected virtual void OnSubscribe( 
       TSubscriptionParam param,
       SubscriptionToken token
    )

    Parameters

    param
    The parameter passed to the Register method
    token
    The subscription token that is assigned to the subscriber
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also