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

扩展回退选项。

返回

生成的群集配置

适用于