SALES: 1-800-867-1380

DataCacheFactoryConfiguration Class

 

Updated: June 30, 2012

Specifies the configuration settings for a new cache client.

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

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration

public class DataCacheFactoryConfiguration : ICloneable

NameDescription
System_CAPS_pubmethodDataCacheFactoryConfiguration()

Initializes a new instance of the DataCacheFactoryConfiguration class.

System_CAPS_pubmethodDataCacheFactoryConfiguration(String)

Initializes a new instance of the DataCacheFactoryConfiguration class. This overload specifies a specific name for the cache client.

NameDescription
System_CAPS_pubpropertyAutoDiscoverProperty

Specifies whether automatic discovery is enabled for the role that hosts Windows Azure Caching.

System_CAPS_pubpropertyCacheReadyRetryPolicy

Specifies the retry policy for the cache client.

System_CAPS_pubpropertyChannelOpenTimeout

Gets or sets the length of time that the cache client waits to establish a network connection with the server.

System_CAPS_pubpropertyDataCacheServiceAccountType

The type of account that runs the Caching service.

System_CAPS_pubpropertyIsCompressionEnabled

Specifies whether compression is enabled. A value of true enables compression. The default is false.

System_CAPS_pubpropertyLocalCacheProperties

Gets or sets the local cache settings for the cache client.

System_CAPS_pubpropertyMaxConnectionsToServer

Specifies the maximum number of channels to open to the cache cluster.

System_CAPS_pubpropertyNotificationProperties

Gets or sets the notification settings for the cache client. Not supported in Windows Azure Shared Caching.

System_CAPS_pubpropertyRequestTimeout

Gets or sets the length of time that the cache client waits for a response from the server for each request.

System_CAPS_pubpropertySecurityProperties

Gets or sets the security properties for the cache client.

System_CAPS_pubpropertySerializationProperties

Specifies the type of serialization to use.

System_CAPS_pubpropertyServers

Gets or sets an array of DataCacheServerEndpoint objects.

System_CAPS_pubpropertyTransportProperties

Gets or sets the transport properties for the cache client.

System_CAPS_pubpropertyUseLegacyProtocol

A value of true specifies that the legacy protocol should be used for connecting to the cache.

NameDescription
System_CAPS_pubmethodClone()

Create a duplicate DataCacheFactoryConfiguration object.

System_CAPS_pubmethodSystem_CAPS_staticCreateNamedConfiguration(String, DataCacheFactoryConfiguration, Boolean)

Create a new cache client configuration.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticRemoveNamedConfiguration(String)

Removes a cache client configuration and its settings from memory.

System_CAPS_pubmethodToString()

(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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft