HttpApplication.Dispose Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Disposes the HttpApplication instance.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual void Dispose()

The Request, Response, Session, and Application properties are not available for use when the Dispose method executes.

The Dispose method calls the Dispose method on each of the registered HttpModules in the application instance and raises the Disposed event.

Notes to Inheritors:

When overriding Dispose in a derived class, make sure to call the base class's Dispose method so that registered delegates receive the event.

.NET Framework
Available since 1.1
Return to top
Show: