TestClusterOptions.BuildClusterConfiguration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建置叢集組態。
public static Orleans.Runtime.Configuration.ClusterConfiguration BuildClusterConfiguration (int baseSiloPort, int baseGatewayPort, int silosCount, Orleans.TestingHost.TestClusterOptions.FallbackOptions extendedOptions);
static member BuildClusterConfiguration : int * int * int * Orleans.TestingHost.TestClusterOptions.FallbackOptions -> Orleans.Runtime.Configuration.ClusterConfiguration
Public Shared Function BuildClusterConfiguration (baseSiloPort As Integer, baseGatewayPort As Integer, silosCount As Integer, extendedOptions As TestClusterOptions.FallbackOptions) As ClusterConfiguration
參數
- baseSiloPort
- Int32
用於定址接收器的基底埠號碼
- baseGatewayPort
- Int32
用於定址接收器閘道的基底埠號碼
- silosCount
- Int32
要部署的初始定址接收器數目。
- extendedOptions
- TestClusterOptions.FallbackOptions
擴充後援選項。
傳回
建置的叢集組態