SessionStateStoreProviderBase.Dispose Method


Releases all resources used by the SessionStateStoreProviderBase implementation.

 abstract void Dispose();
public abstract void Dispose ();
abstract member Dispose : unit -> unit
Public MustOverride Sub Dispose ()


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


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.

Applies to

See also