Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.
Assembly: SharedCache.WinServiceCommon (in SharedCache.WinServiceCommon.dll) Version: 3.0.5.1 (3.0.5.1)
Returns read-only session-state data from the session data store.
Namespace:
SharedCache.WinServiceCommon.Provider.SessionAssembly: SharedCache.WinServiceCommon (in SharedCache.WinServiceCommon.dll) Version: 3.0.5.1 (3.0.5.1)
Syntax
| C# |
|---|
public override SessionStateStoreData GetItem( HttpContext context, string id, out bool locked, out TimeSpan lockAge, out Object lockId, out SessionStateActions actions ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Function GetItem ( _ context As HttpContext, _ id As String, _ <OutAttribute> ByRef locked As Boolean, _ <OutAttribute> ByRef lockAge As TimeSpan, _ <OutAttribute> ByRef lockId As Object, _ <OutAttribute> ByRef actions As SessionStateActions _ ) As SessionStateStoreData |
| Visual C++ |
|---|
public: virtual SessionStateStoreData^ GetItem( HttpContext^ context, String^ id, [OutAttribute] bool% locked, [OutAttribute] TimeSpan% lockAge, [OutAttribute] Object^% lockId, [OutAttribute] SessionStateActions% actions ) override |
Parameters
- context
- Type: System.Web..::.HttpContext
The HttpContext for the current request.
- id
- Type: System..::.String
The SessionID for the current request.
- locked
- Type:
System..::.Boolean
%
When this method returns, contains a Boolean value that is set to true if the requested session item is locked at the session data store; otherwise, false.
- lockAge
- Type:
System..::.TimeSpan
%
When this method returns, contains a TimeSpan object that is set to the amount of time that an item in the session data store has been locked.
- lockId
- Type:
System..::.Object
%
When this method returns, contains an object that is set to the lock identifier for the current request. For details on the lock identifier, see "Locking Session-Store Data" in the SessionStateStoreProviderBase class summary.
- actions
- Type:
System.Web.SessionState..::.SessionStateActions
%
When this method returns, contains one of the SessionStateActions values, indicating whether the current session is an uninitialized, cookieless session.
Return Value
A SessionStateStoreData populated with session values and information from the session data store.
Remarks
[Missing <remarks> documentation for "M:SharedCache.WinServiceCommon.Provider.Session.IndexusProviderBase.GetItem(System.Web.HttpContext,System.String,System.Boolean@,System.TimeSpan@,System.Object@,System.Web.SessionState.SessionStateActions@)"]