Control.Unload Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Event Type
Remarks
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.
Applies to
See also
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.