SessionStateStoreProviderBase.Dispose Method

Definition

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.

Applies to

See also