發生於伺服器控制項從記憶體釋放時，這是在要求 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.