DataCacheSessionStoreProvider.RemoveItem Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Deletes session data from the cache.
Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Overrides Sub RemoveItem ( _
context As HttpContext, _
id As String, _
lockId As Object, _
item As SessionStateStoreData _
)
'Usage
Dim instance As DataCacheSessionStoreProvider
Dim context As HttpContext
Dim id As String
Dim lockId As Object
Dim item As SessionStateStoreData
instance.RemoveItem(context, id, lockId, item)
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
public void RemoveItem (
HttpContext context,
String id,
Object lockId,
SessionStateStoreData item
)
public override function RemoveItem (
context : HttpContext,
id : String,
lockId : Object,
item : SessionStateStoreData
)
Parameters
- context
The HttpContext of the current request.
- id
The session identifier of the current request.
- lockId
The lock identifier of the current request.
- item
The SessionStateStoreData that represents the item to delete from the cache.
Remarks
For more information, see the documentation for the base class SessionStateStoreProviderBase.
See Also
Reference
DataCacheSessionStoreProvider Class
DataCacheSessionStoreProvider Members
Microsoft.Data.Caching Namespace