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)

public DataCacheFactoryConfiguration(
	string clientName


Type: System.String

The 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.

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.

Return to top