SessionStateStoreProviderBase.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases all resources used by the SessionStateStoreProviderBase implementation.
public:
abstract void Dispose();
public abstract void Dispose ();
abstract member Dispose : unit -> unit
Public MustOverride Sub Dispose ()
Examples
For an example of a session-state store provider implementation, see Implementing a Session-State Store Provider.
Remarks
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.