DataCacheSessionStoreProvider Methods

 

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

Methods

Name Description
System_CAPS_pubmethod CreateNewStoreData(HttpContext, Int32)

Creates a new data storage object for the current request.(Overrides SessionStateStoreProviderBase.CreateNewStoreData(HttpContext, Int32).)

System_CAPS_pubmethod CreateUninitializedItem(HttpContext, String, Int32)

Adds a new session state to the distributed cache. (Overrides SessionStateStoreProviderBase.CreateUninitializedItem(HttpContext, String, Int32).)

System_CAPS_pubmethod Dispose()

Releases all resources used by the DataCacheSessionStoreProvider class.(Overrides SessionStateStoreProviderBase.Dispose().)

System_CAPS_pubmethod EndRequest(HttpContext)

Called by the SessionStateModule class at the end of a request(Overrides SessionStateStoreProviderBase.EndRequest(HttpContext).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetItem(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions)

Returns read-only session-state data from the cache.(Overrides SessionStateStoreProviderBase.GetItem(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions).)

System_CAPS_pubmethod GetItemExclusive(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions)

Returns and locks the read-only session-state data from the cache.(Overrides SessionStateStoreProviderBase.GetItemExclusive(HttpContext, String, Boolean, TimeSpan, Object, SessionStateActions).)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize(String, NameValueCollection)

Initializes the distributed cache provider.(Overrides ProviderBase.Initialize(String, NameValueCollection).)

System_CAPS_pubmethod InitializeRequest(HttpContext)

Initializes the outgoing HTTP request.(Overrides SessionStateStoreProviderBase.InitializeRequest(HttpContext).)

System_CAPS_pubmethod ReleaseItemExclusive(HttpContext, String, Object)

Releases a lock on the session data in the cache.(Overrides SessionStateStoreProviderBase.ReleaseItemExclusive(HttpContext, String, Object).)

System_CAPS_pubmethod RemoveItem(HttpContext, String, Object, SessionStateStoreData)

Deletes session data from the cache.(Overrides SessionStateStoreProviderBase.RemoveItem(HttpContext, String, Object, SessionStateStoreData).)

System_CAPS_pubmethod ResetItemTimeout(HttpContext, String)

Updates the expiration date and time of session data in the cache.(Overrides SessionStateStoreProviderBase.ResetItemTimeout(HttpContext, String).)

System_CAPS_pubmethod SetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean)

Updates the session item information in the cache with values from the current request and clears the lock on the session item.(Overrides SessionStateStoreProviderBase.SetAndReleaseItemExclusive(HttpContext, String, SessionStateStoreData, Object, Boolean).)

System_CAPS_pubmethod SetItemExpireCallback(SessionStateItemExpireCallback)

Sets a reference to the SessionStateItemExpireCallback delegate for the Session_OnEnd event defined in the Global.asax file.(Overrides SessionStateStoreProviderBase.SetItemExpireCallback(SessionStateItemExpireCallback).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

See Also

DataCacheSessionStoreProvider Class
Microsoft.ApplicationServer.Caching Namespace

Return to top