ArcGIS Pro 2.6 API Reference Guide
Unregister(SubscriptionToken) Method

ArcGIS.Core.Events Namespace > AsyncPresentationEvent<TPayload> Class > Unregister Method : Unregister(SubscriptionToken) Method
The SubscriptionToken returned by EventBase while subscribing to the event.
Removes the subscriber matching the .
Syntax
public void Unregister( 
   SubscriptionToken token
)
Public 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, Windows 7

See Also

Reference

AsyncPresentationEvent<TPayload> Class
AsyncPresentationEvent<TPayload> Members
Overload List
SubscriptionToken Class