DataCacheFactoryConfiguration Constructor (String)
Initializes a new instance of the DataCacheFactoryConfiguration class. This overload specifies a specific name for the cache client.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Syntax
public DataCacheFactoryConfiguration(
string clientName
)
public:
DataCacheFactoryConfiguration(
String^ clientName
)
new :
clientName:string -> DataCacheFactoryConfiguration
Public Sub New (
clientName As String
)
Parameters
clientName
Type: System.StringThe name of the cache client. If the application configuration file specifies multiple named dataCacheClient sections, this parameter can be used to specify which dataCacheClient section to use.
Remarks
Note that this overload is necessary only when specifying a named dataCacheClient section in the application configuration file. If you are programmatically configuring the cache client, then can use the constructor with no parameters.
See Also
DataCacheFactoryConfiguration Overload
DataCacheFactoryConfiguration Class
Microsoft.ApplicationServer.Caching Namespace
Return to top