發生於伺服器控制項從記憶體釋放時，這是在要求 ASP.NET 網頁時，伺服器控制項生命週期的最後階段。Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
public: virtual event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler
Public Custom Event Disposed As EventHandler
需要大量處理器時間，例如資料庫連線的資源的釋放與這個事件。Resources that require significant processor time, such as database connections, should be released with this event.