When you create a HttpApplication.Disposed delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the HttpApplication.Disposed delegate to the event. The event handler is called whenever the event occurs, unless you remove the HttpApplication.Disposed delegate.
For more information about how to handle events, see Consuming Events.