Dispose Method

SessionStateStoreProviderBase.Dispose Method ()


Releases all resources used by the SessionStateStoreProviderBase implementation.

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

abstract Dispose : unit -> unit

The SessionStateStoreProviderBase.Dispose method is called when the SessionStateModule.Dispose method executes at the closing of the application domain. Classes that inherit the SessionStateStoreProviderBase class can use this method to free any resources no longer in use.

For an example of a session-state store provider implementation, see Implementing a Session-State Store Provider.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft