|Top Previous Next|
Once an event handler is no longer needed unregister it with this function. It is good practice to unregister event handlers once they are not needed anymore as they are processed every time an event arrives.
Below is an example that first registers an event handler. Once the event "StopMe" arrives the event handler unregisters.