IMultiClusterRegistrationStrategy.GetRemoteInstances 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetRemoteInstances(MultiClusterConfiguration, String) |
判斷哪些遠端叢集具有實例。 |
GetRemoteInstances(IReadOnlyList<String>, String) |
判斷哪些遠端叢集具有實例。 |
GetRemoteInstances(MultiClusterConfiguration, String)
判斷哪些遠端叢集具有實例。
public System.Collections.Generic.IEnumerable<string> GetRemoteInstances (Orleans.MultiCluster.MultiClusterConfiguration mcConfig, string myClusterId);
abstract member GetRemoteInstances : Orleans.MultiCluster.MultiClusterConfiguration * string -> seq<string>
Public Function GetRemoteInstances (mcConfig As MultiClusterConfiguration, myClusterId As String) As IEnumerable(Of String)
參數
- mcConfig
- MultiClusterConfiguration
多重叢集組態
- myClusterId
- String
此叢集的叢集識別碼
傳回
適用於
GetRemoteInstances(IReadOnlyList<String>, String)
判斷哪些遠端叢集具有實例。
public System.Collections.Generic.IEnumerable<string> GetRemoteInstances (System.Collections.Generic.IReadOnlyList<string> clusters, string myClusterId);
abstract member GetRemoteInstances : System.Collections.Generic.IReadOnlyList<string> * string -> seq<string>
Public Function GetRemoteInstances (clusters As IReadOnlyList(Of String), myClusterId As String) As IEnumerable(Of String)
參數
- clusters
- IReadOnlyList<String>
所有叢集的清單
- myClusterId
- String
此叢集的叢集識別碼