MySQL Connector/Net |
MySqlSessionStateStore..::.GetItem Method |
MySqlSessionStateStore Class See Also Send Feedback |
This method returns a read-only session item from the database.
Namespace:
MySql.Web.SessionState
Assembly:
MySql.Web (in MySql.Web.dll) Version: 6.2.2.0
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
- id
- Type: System..::.String
- locked
- Type:
System..::.Boolean
%
- lockAge
- Type:
System..::.TimeSpan
%
- lockId
- Type:
System..::.Object
%
- actions
- Type:
System.Web.SessionState..::.SessionStateActions
%