Control.Unload イベント
定義
サーバー コントロールがメモリからアンロードされると発生します。Occurs when the server control is unloaded from memory.
public:
event EventHandler ^ Unload;
public event EventHandler Unload;
member this.Unload : EventHandler
Public Custom Event Unload As EventHandler
イベントの種類
注釈
サーバーコントロールは、インスタンスがアンロードされる前に、コントロールのライフサイクルのこの段階で、ファイルのクローズ、データベース接続、オブジェクトの破棄など、最終的なクリーンアップを実行する必要があります。Server controls must perform any final clean-up, such as closing files, database connections and discarding objects, during this stage of the control lifecycle before the instance is unloaded.