Share via


DataCacheServerEndpoint Class

Used to specify an individual cache host when programmatically configuring the cache client.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.ApplicationServer.Caching..::..DataCacheServerEndpoint

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

Syntax

'Declaration
Public Class DataCacheServerEndpoint
'Usage
Dim instance As DataCacheServerEndpoint
public class DataCacheServerEndpoint
public ref class DataCacheServerEndpoint
type DataCacheServerEndpoint =  class end
public class DataCacheServerEndpoint

The DataCacheServerEndpoint type exposes the following members.

Constructors

  Name Description
Public method DataCacheServerEndpoint Used to define a cache host in the cache cluster for programmatic configuration of the cache client.

Top

Properties

  Name Description
Public property CachePort The cache port on the cache server.
Public property HostName The computer name or service URL of the cache server.

Top

Methods

  Name Description
Public method Equals Returns true if the DataCacheServerEndpoint objects are equal. (Overrides Object. . :: . .Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for the DataCacheServerEndpoint. (Overrides Object. . :: . .GetHashCode() () () ().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

This class is used with the parameterized DataCacheFactory cache constructor to programmatically configure the cache client.

Note

When you configure cache hosts in Microsoft AppFabric 1.1 for Windows Server Caching, make sure to specify those hosts that have been designated lead hosts. This applies to cache clusters that use Xml for the configuration store. Lead hosts are the first cache servers installed in the cluster.

Note

When you configure cache hosts in Windows Azure Shared Caching, specify the service URL from the .

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

Reference

Microsoft.ApplicationServer.Caching Namespace