asp.net.ph

DefaultAuthenticationModule.Dispose Method

System.Web.Security Namespace   DefaultAuthenticationModule Class


Called by the HTTP runtime to Dispose of the module ( derived from IHttpModule ) .

[ VB ]
NotOverridable Public Sub Dispose ( ) Implements IHttpModule.Dispose

[ C# ]
public void Dispose ( );

[ C++ ]
public: __sealed void Dispose ( );

[ JScript ]
public function Dispose ( );

Implements

IHttpModule.Dispose

Remarks

Call Dispose when you are finished using the DefaultAuthenticationModule. The Dispose method leaves the DefaultAuthenticationModule in an unusable state. After calling Dispose, you must release all references to the DefaultAuthenticationModule so the memory occupied can be reclaimed by garbage collection.

NOTE: Always call Dispose before releasing your last reference to the DefaultAuthenticationModule. Otherwise, the resources the DefaultAuthenticationModule is using will not be freed until garbage collection calls the DefaultAuthenticationModule object's destructor.

See Also

DefaultAuthenticationModule Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note