asp.net.ph

UrlAuthorizationModule.Dispose Method

System.Web.Security Namespace   UrlAuthorizationModule Class


Called by the HTTP runtime to dispose of the module.

[ 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 UrlAuthorizationModule. The Dispose method leaves the UrlAuthorizationModule in an unusable state. After calling Dispose, you must release all references to the UrlAuthorizationModule so the memory it occupied can be reclaimed by garbage collection.

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

See Also

UrlAuthorizationModule Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph