共用方式為


TestClusterOptions.BuildClusterConfiguration 方法

定義

建置叢集組態。

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

擴充後援選項。

傳回

建置的叢集組態

適用於