System.Web.Security Namespace PassportAuthenticationModule Class
Disposes of the module derived from IHttpModule when called by the HttpRuntime .
[ VB ]
NotOverridable Public Sub Dispose ( ) Implements IHttpModule.Dispose
[ C# ]
public void Dispose ( );
[ C++ ]
public: __sealed void Dispose ( );
[ JScript ]
public function Dispose ( );
IHttpModule.Dispose
Call Dispose when you are finished using the PassportAuthenticationModule. The Dispose method leaves the PassportAuthenticationModule in an unusable state. After calling Dispose, you must release all references to the PassportAuthenticationModule so the memory it occupied can be reclaimed by garbage collection.
NOTE: Always call Dispose before releasing your last reference to the PassportAuthenticationModule. Otherwise, the resources the PassportAuthenticationModule is using will not be freed until garbage collection calls the PassportAuthenticationModule object's destructor.
PassportAuthenticationModule Members