שתף באמצעות


DataCacheServerEndpoint Class

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

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As DataCacheServerEndpoint

Syntax

'Declaration
Public Class DataCacheServerEndpoint
public class DataCacheServerEndpoint
public ref class DataCacheServerEndpoint
public class DataCacheServerEndpoint
public class DataCacheServerEndpoint

Remarks

This class is used with the parameterized DataCacheFactory cache constructor to programmatically configure the cache client. When you configure cache hosts, make sure to specify those hosts that have been designated lead hosts. Lead hosts are the first cache servers installed in the cluster. For more information about lead hosts, see the Physical Model section in General Concept Models (Velocity).

You can determine which hosts are lead hosts by using the PowerShell administration tool. For more information about PowerShell, see Cache Administration with PowerShell (Velocity).

Inheritance Hierarchy

System.Object
  Microsoft.ApplicationServer.Caching.DataCacheServerEndpoint

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.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheServerEndpoint Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26