SALES: 1-800-867-1380

CreateNamedConfiguration Method

Create a new cache client configuration.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public static bool CreateNamedConfiguration(
	string clientName,
	DataCacheFactoryConfiguration config,
	bool useConnectionPool


Type: System..::..String
The name of the new cache client configuration.
Type: Microsoft.ApplicationServer.Caching..::..DataCacheFactoryConfiguration
A DataCacheFactoryConfiguration object that contains the settings for the new client configuration.
Type: System..::..Boolean
A value of true enables connection pooling.

Return Value

Type: System..::..Boolean
Returns Boolean.

This method creates a new cache client configuration in memory with the specified name. To use this new configuration, you must create a new DataCacheFactoryConfiguration object. Specify the name of the new cache client configuration in the constructor.

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

Community Additions

© 2015 Microsoft