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)

Syntax

public override bool SetItemExpireCallback(
    SessionStateItemExpireCallback expireCallback
)
public:
virtual bool SetItemExpireCallback(
    SessionStateItemExpireCallback^ expireCallback
) override
override SetItemExpireCallback : 
        expireCallback:SessionStateItemExpireCallback -> bool
Public Overrides Function SetItemExpireCallback (
    expireCallback As SessionStateItemExpireCallback
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

Remarks

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

See Also

DataCacheSessionStoreProvider Class
Microsoft.ApplicationServer.Caching Namespace

Return to top