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)

Inheritance Hierarchy

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration

Syntax

public class DataCacheFactoryConfiguration : ICloneable
public ref class DataCacheFactoryConfiguration : ICloneable
type DataCacheFactoryConfiguration = 
    class
        interface ICloneable
    end
Public Class DataCacheFactoryConfiguration
    Implements ICloneable

Constructors

Name Description
System_CAPS_pubmethod DataCacheFactoryConfiguration()

Initializes a new instance of the DataCacheFactoryConfiguration class.

System_CAPS_pubmethod DataCacheFactoryConfiguration(String)

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

Properties

Name Description
System_CAPS_pubproperty AutoDiscoverProperty

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

System_CAPS_pubproperty CacheReadyRetryPolicy

Specifies the retry policy for the cache client.

System_CAPS_pubproperty ChannelOpenTimeout

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

System_CAPS_pubproperty DataCacheServiceAccountType

The type of account that runs the Caching service.

System_CAPS_pubproperty IsCompressionEnabled

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

System_CAPS_pubproperty LocalCacheProperties

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

System_CAPS_pubproperty MaxConnectionsToServer

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

System_CAPS_pubproperty NotificationProperties

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

System_CAPS_pubproperty RequestTimeout

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

System_CAPS_pubproperty SecurityProperties

Gets or sets the security properties for the cache client.

System_CAPS_pubproperty SerializationProperties

Specifies the type of serialization to use.

System_CAPS_pubproperty Servers

Gets or sets an array of DataCacheServerEndpoint objects.

System_CAPS_pubproperty TransportProperties

Gets or sets the transport properties for the cache client.

System_CAPS_pubproperty UseLegacyProtocol

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

Methods

Name Description
System_CAPS_pubmethod Clone()

Create a duplicate DataCacheFactoryConfiguration object.

System_CAPS_pubmethodSystem_CAPS_static CreateNamedConfiguration(String, DataCacheFactoryConfiguration, Boolean)

Create a new cache client configuration.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static RemoveNamedConfiguration(String)

Removes a cache client configuration and its settings from memory.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

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.

Thread Safety

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

See Also

Microsoft.ApplicationServer.Caching Namespace

Return to top