Event Manager. Stop Listening(Object) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, stops listening on the provided source for the event being managed.
protected: abstract void StopListening(System::Object ^ source);
protected abstract void StopListening (object source);
abstract member StopListening : obj -> unit
Protected MustOverride Sub StopListening (source As Object)
The source to stop listening on.
Notes to Implementers
StopListening(Object) implementations should remove the class handler as added by the StartListening(Object) method. Removing a listener should not clear the listener list. Instead, it should only disconnect the class handler (perhaps temporarily). Other methods are available for clearing the entire list, such as the Purge(Object, Object, Boolean) method with the
purgeAll parameter set to