Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataCacheFactoryConfiguration Class

Specifies the configuration settings for a new cache client.


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

public class DataCacheFactoryConfiguration : ICloneable

The DataCacheFactoryConfiguration type exposes the following members.

Public methodDataCacheFactoryConfiguration()()()()Initializes a new instance of the DataCacheFactoryConfiguration class.
Public methodDataCacheFactoryConfiguration(String)Initializes a new instance of the DataCacheFactoryConfiguration class. This overload specifies a specific name for the cache client.

Public propertyAutoDiscoverPropertySpecifies whether automatic discovery is enabled for the role that hosts Windows Azure Caching.
Public propertyCacheReadyRetryPolicySpecifies the retry policy for the cache client.
Public propertyChannelOpenTimeoutGets or sets the length of time that the cache client waits to establish a network connection with the server.
Public propertyDataCacheServiceAccountTypeThe type of account that runs the Caching service.
Public propertyIsCompressionEnabledSpecifies whether compression is enabled. A value of true enables compression. The default is false.
Public propertyLocalCachePropertiesGets or sets the local cache settings for the cache client.
Public propertyMaxConnectionsToServerSpecifies the maximum number of channels to open to the cache cluster.
Public propertyNotificationPropertiesGets or sets the notification settings for the cache client. Not supported in Windows Azure Shared Caching.
Public propertyRequestTimeoutGets or sets the length of time that the cache client waits for a response from the server for each request.
Public propertySecurityPropertiesGets or sets the security properties for the cache client.
Public propertySerializationPropertiesSpecifies the type of serialization to use.
Public propertyServersGets or sets an array of DataCacheServerEndpoint objects.
Public propertyTransportPropertiesGets or sets the transport properties for the cache client.
Public propertyUseLegacyProtocolA value of true specifies that the legacy protocol should be used for connecting to the cache.

Public methodCloneCreate a duplicate DataCacheFactoryConfiguration object.
Public methodStatic memberCreateNamedConfigurationCreate a new cache client configuration.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberRemoveNamedConfigurationRemoves a cache client configuration and its settings from memory.
Public methodToString (Inherited from Object.)

Use this class to programmatically specify the configuration settings for a new cache client. An instance of this class can be passed as a parameter to the constructor of the DataCacheFactory class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft