DataCacheSessionStoreProvider.SetItemExpireCallback Method (SessionStateItemExpireCallback)

 

Sets a reference to the SessionStateItemExpireCallback delegate for the Session_OnEnd event defined in the Global.asax file.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Public Overrides Function SetItemExpireCallback (
	expireCallback As SessionStateItemExpireCallback
) As Boolean

Parameters

expireCallback
Type: System.Web.SessionState.SessionStateItemExpireCallback

The SessionStateItemExpireCallback delegate for the Session_OnEnd event defined in the Global.asax file.

Return Value

Type: System.Boolean

Cache does not support notification of the expiration; therefore this method always returns false.

For more information, see the documentation for the base class SessionStateStoreProviderBase.

Return to top
Show: