Control.Disposed 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 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
Event Type
Implements
Remarks
Resources that require significant processor time, such as database connections, should be released with this event.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.