Version

OnHasListenersChanged Method

Virtual method called when the HasListeners property changes.
Syntax
'Declaration
 
Protected Overridable Sub OnHasListenersChanged() 
protected virtual void OnHasListenersChanged()
Remarks

Note: the default inpmplementation does nothing. This method is intended for use by derived classes that may want to be notified when the # of listeners to the PropertyChanged event transitions from 0 to 1 or 1 to 0;

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also