匯出 (0) 列印
全部展開

DataCacheServerEndpoint 建構函式

用來定義快取用戶端程式設計設定的快取叢集中的快取主機。

命名空間:  Microsoft.ApplicationServer.Caching
組件:  Microsoft.ApplicationServer.Caching.Client (在 Microsoft.ApplicationServer.Caching.Client.dll 中)

public DataCacheServerEndpoint(
	string hostName,
	int cachePort
)

參數

hostName
型別:System..::..String
快取伺服器或服務 URL 的電腦名稱。
cachePort
型別:System..::..Int32
快取主機的快取連接埠號碼。

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

附註附註

When you configure cache hosts in Microsoft AppFabric 1.1 for Windows Server 快取, 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.

附註附註

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

社群新增項目

新增
顯示:
© 2015 Microsoft