HttpApplication.Disposed 事件

定义

在释放应用程序时发生。Occurs when the application is disposed.

public:
 virtual event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler 
Public Custom Event Disposed As EventHandler 

实现

注解

当创建 Disposed 委托时,请标识将处理事件的方法。When you create a Disposed delegate, you identify the method that handles the event. 若要将事件与事件处理程序关联,请将 Disposed 委托的实例添加到事件。To associate the event with your event handler, add an instance of the Disposed delegate to the event. 只要事件发生,就会调用事件处理程序,除非删除 Disposed 委托。The event handler is called whenever the event occurs, unless you remove the Disposed delegate.

有关如何处理事件的详细信息,请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

适用于