ArcGIS Pro 2.8 API Reference Guide
Unregister(SubscriptionToken) Method

ArcGIS.Core.Events Namespace > RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class > Unregister Method : Unregister(SubscriptionToken) Method
The SubscriptionToken returned by EventBase while subscribing to the event.
Removes the subscriber matching the .
Syntax
protected internal void Unregister( 
   SubscriptionToken token
)
Protected Friend Overloads Sub Unregister( _
   ByVal token As SubscriptionToken _
) 

Parameters

token
The SubscriptionToken returned by EventBase while subscribing to the event.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

RegisteredPresentationEvent<TSubscriptionParam,TPayload> Class
RegisteredPresentationEvent<TSubscriptionParam,TPayload> Members
Overload List
SubscriptionToken Class