DataCacheSessionStoreProvider.RemoveItem Method (HttpContext, String, Object, SessionStateStoreData)
Deletes session data from the cache.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Syntax
public override void RemoveItem(
HttpContext context,
string id,
object lockId,
SessionStateStoreData item
)
public:
virtual void RemoveItem(
HttpContext^ context,
String^ id,
Object^ lockId,
SessionStateStoreData^ item
) override
override RemoveItem :
context:HttpContext *
id:string *
lockId:Object *
item:SessionStateStoreData -> unit
Public Overrides Sub RemoveItem (
context As HttpContext,
id As String,
lockId As Object,
item As SessionStateStoreData
)
Parameters
context
Type: System.Web.HttpContextThe HttpContext of the current request.
id
Type: System.StringThe session identifier of the current request.
lockId
Type: System.ObjectThe lock identifier of the current request.
item
Type: System.Web.SessionState.SessionStateStoreDataThe SessionStateStoreData that represents the item to delete from the cache.
Remarks
For more information, see the documentation for the base class SessionStateStoreProviderBase.
See Also
DataCacheSessionStoreProvider Class
Microsoft.ApplicationServer.Caching Namespace
Return to top