Compartilhar via


TestClusterOptions.BuildClusterConfiguration Método

Definição

Crie uma configuração de cluster.

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

Parâmetros

baseSiloPort
Int32

Número da porta base a ser usado para silos

baseGatewayPort
Int32

Número da porta base a ser usado para gateways do silo

silosCount
Int32

O número de silos iniciais a serem implantados.

extendedOptions
TestClusterOptions.FallbackOptions

As opções de fallback estendidas.

Retornos

A configuração do cluster compilado

Aplica-se a