SALES: 1-800-867-1380

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
)

Parameters

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft