SALES: 1-800-867-1380

DataCacheFactoryConfiguration Class

Specifies the configuration settings for a new cache client.

System..::..Object
  Microsoft.ApplicationServer.Caching..::..DataCacheFactoryConfiguration

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

type DataCacheFactoryConfiguration =  
    class
        interface ICloneable
    end

The DataCacheFactoryConfiguration type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft