Share via


DataCacheSessionStoreProvider.CreateUninitializedItem Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a new session state to the distributed cache.

Namespace: Microsoft.Data.Caching
Assembly: ClientLibrary (in clientlibrary.dll)

Syntax

'Declaration
Public Overrides Sub CreateUninitializedItem ( _
    context As HttpContext, _
    id As String, _
    timeout As Integer _
)
'Usage
Dim instance As DataCacheSessionStoreProvider
Dim context As HttpContext
Dim id As String
Dim timeout As Integer

instance.CreateUninitializedItem(context, id, timeout)
public override void CreateUninitializedItem (
    HttpContext context,
    string id,
    int timeout
)
public:
virtual void CreateUninitializedItem (
    HttpContext^ context, 
    String^ id, 
    int timeout
) override
public void CreateUninitializedItem (
    HttpContext context, 
    String id, 
    int timeout
)
public override function CreateUninitializedItem (
    context : HttpContext, 
    id : String, 
    timeout : int
)

Parameters

  • context
    The HttpContext for the current request.
  • id
    The session identifier for the current request.
  • timeout
    The session Timeout for the current request.

Remarks

For more information, see the documentation for the base class SessionStateStoreProviderBase.

See Also

Reference

DataCacheSessionStoreProvider Class
DataCacheSessionStoreProvider Members
Microsoft.Data.Caching Namespace