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 | |
---|---|---|
DataCacheFactoryConfiguration() | Initializes a new instance of the DataCacheFactoryConfiguration class. |
|
DataCacheFactoryConfiguration(String) | Initializes a new instance of the DataCacheFactoryConfiguration class. This overload specifies a specific name for the cache client. |
Properties
Name | Description | |
---|---|---|
AutoDiscoverProperty | Specifies whether automatic discovery is enabled for the role that hosts Windows Azure Caching. |
|
CacheReadyRetryPolicy | Specifies the retry policy for the cache client. |
|
ChannelOpenTimeout | Gets or sets the length of time that the cache client waits to establish a network connection with the server. |
|
DataCacheServiceAccountType | The type of account that runs the Caching service. |
|
IsCompressionEnabled | Specifies whether compression is enabled. A value of true enables compression. The default is false. |
|
LocalCacheProperties | Gets or sets the local cache settings for the cache client. |
|
MaxConnectionsToServer | Specifies the maximum number of channels to open to the cache cluster. |
|
NotificationProperties | Gets or sets the notification settings for the cache client. Not supported in Windows Azure Shared Caching. |
|
RequestTimeout | Gets or sets the length of time that the cache client waits for a response from the server for each request. |
|
SecurityProperties | Gets or sets the security properties for the cache client. |
|
SerializationProperties | Specifies the type of serialization to use. |
|
Servers | Gets or sets an array of DataCacheServerEndpoint objects. |
|
TransportProperties | Gets or sets the transport properties for the cache client. |
|
UseLegacyProtocol | A value of true specifies that the legacy protocol should be used for connecting to the cache. |
Methods
Name | Description | |
---|---|---|
Clone() | Create a duplicate DataCacheFactoryConfiguration object. |
|
CreateNamedConfiguration(String, DataCacheFactoryConfiguration, Boolean) | Create a new cache client configuration. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoveNamedConfiguration(String) | Removes a cache client configuration and its settings from memory. |
|
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