DataCacheSessionStoreProvider.CreateNewStoreData Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new data storage object for the current request.
Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)
Syntax
'Declaration
Public Overrides Function CreateNewStoreData ( _
context As HttpContext, _
timeout As Integer _
) As SessionStateStoreData
'Usage
Dim instance As DataCacheSessionStoreProvider
Dim context As HttpContext
Dim timeout As Integer
Dim returnValue As SessionStateStoreData
returnValue = instance.CreateNewStoreData(context, timeout)
public override SessionStateStoreData CreateNewStoreData (
HttpContext context,
int timeout
)
public:
virtual SessionStateStoreData^ CreateNewStoreData (
HttpContext^ context,
int timeout
) override
public SessionStateStoreData CreateNewStoreData (
HttpContext context,
int timeout
)
public override function CreateNewStoreData (
context : HttpContext,
timeout : int
) : SessionStateStoreData
Parameters
- context
The HttpContext for the current request.
- timeout
The session state Timeout value for the new SessionStateStoreData object.
Return Value
A SessionStateStoreData object, used for storing session data in the distributed cache.
Remarks
For more information, see the documentation for the base class SessionStateStoreProviderBase.
See Also
Reference
DataCacheSessionStoreProvider Class
DataCacheSessionStoreProvider Members
Microsoft.Data.Caching Namespace