Share via


DataCacheFactory Constructor (DataCacheFactoryConfiguration)

 

Used for programmatically configuring a cache client.

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

Syntax

public DataCacheFactory(
    DataCacheFactoryConfiguration configuration
)
public:
DataCacheFactory(
    DataCacheFactoryConfiguration^ configuration
)
new : 
        configuration:DataCacheFactoryConfiguration -> DataCacheFactory
Public Sub New (
    configuration As DataCacheFactoryConfiguration
)

Parameters

Remarks

This overloaded constructor enables you to programmatically configure a cache client. First create an instance of the DataCacheFactoryConfiguration class and use its properties to define the settings for the cache client. Then pass the object to this constructor. For more information, see .5fc70536-d002-4ae6-bdc6-36b65ff0a016

See Also

DataCacheFactory Overload
DataCacheFactory Class
Microsoft.ApplicationServer.Caching Namespace

Return to top