Var denne siden nyttig?
Din tilbakemelding på dette innholdet er viktig. Fortell oss hva du synes.
Mer tilbakemelding?
1500 tegn igjen
Eksporter (0) Skriv ut
Vis alt
EN
Dette innholdet er ikke tilgjengelig på ditt språk, men her er den engelske versjonen.

DataCacheServerEndpoint Constructor

Used to define a cache host in the cache cluster for programmatic configuration of the cache client.

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

public DataCacheServerEndpoint(
	string hostName,
	int cachePort
)

Parameters

hostName
Type: System..::..String
The computer name of the cache server or the service URL.
cachePort
Type: System..::..Int32
The cache port number of the cache host.

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

NoteNote

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.

NoteNote

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

Fellesskapsinnhold

Legg til
Vis:
© 2015 Microsoft