DataCacheSessionStoreProvider.Initialize Method
Initializes the distributed cache provider.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
Usage
'Usage
Dim instance As DataCacheSessionStoreProvider
Dim name As String
Dim config As NameValueCollection
instance.Initialize(name, config)
Syntax
'Declaration
Public Overrides Sub Initialize ( _
name As String, _
config As NameValueCollection _
)
public override void Initialize (
string name,
NameValueCollection config
)
public:
virtual void Initialize (
String^ name,
NameValueCollection^ config
) override
public void Initialize (
String name,
NameValueCollection config
)
public override function Initialize (
name : String,
config : NameValueCollection
)
Parameters
- name
The name of the application.
- config
The configuration details specified in the application configuration file for cacheName and regionName.
Remarks
For more information, see the documentation for the base class SessionStateStoreProviderBase.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Visual Studio 2010 and later, .NET Framework 4
Target Platforms
Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
See Also
Reference
DataCacheSessionStoreProvider Class
DataCacheSessionStoreProvider Members
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26