ArcGIS Pro 2.9 API Reference Guide
OnSubscribe Method

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
Callback made on the event instance when a subscriber subscribes to the event
Syntax
protected virtual void OnSubscribe( 
   TSubscriptionParam param,
   SubscriptionToken token
)
Protected Overridable Sub OnSubscribe( _
   ByVal param As TSubscriptionParam, _
   ByVal token As SubscriptionToken _
) 

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

See Also

Reference

RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class
RegisteredPresentationEvent<TSubscriptionParam,TPayload> Members