PassportIdentity.System.IDisposable.Dispose Method
.NET Framework 3.0
Releases all resources used by the PassportIdentity class.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Call System.IDisposable.Dispose when you are finished using the PassportIdentity. The System.IDisposable.Dispose method leaves the PassportIdentity in an unusable state. After calling System.IDisposable.Dispose , you must release all references to the PassportIdentity so the garbage collector can reclaim the memory that the PassportIdentity was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.
Note: |
|---|
|
Always call System.IDisposable.Dispose before you release your last reference to the PassportIdentity. Otherwise, the resources it is using will not be freed until the garbage collector calls the PassportIdentity object's Finalize method. |
Community Additions
ADD
Show:
Note: