Compartilhar via


TestClusterOptions.AddNodeConfiguration Método

Definição

Adiciona uma configuração de silo à configuração do cluster de destino.

public static Orleans.Runtime.Configuration.NodeConfiguration AddNodeConfiguration (Orleans.Runtime.Configuration.ClusterConfiguration config, Orleans.Runtime.Silo.SiloType siloType, short instanceNumber, int baseSiloPort, int baseGatewayPort);
static member AddNodeConfiguration : Orleans.Runtime.Configuration.ClusterConfiguration * Orleans.Runtime.Silo.SiloType * int16 * int * int -> Orleans.Runtime.Configuration.NodeConfiguration
Public Shared Function AddNodeConfiguration (config As ClusterConfiguration, siloType As Silo.SiloType, instanceNumber As Short, baseSiloPort As Integer, baseGatewayPort As Integer) As NodeConfiguration

Parâmetros

config
ClusterConfiguration

A configuração do cluster de destino

siloType
Silo.SiloType

O tipo do silo a ser adicionado

instanceNumber
Int16

O número da instância do silo

baseSiloPort
Int32

Porta de silo base a ser usada

baseGatewayPort
Int32

Porta de silo do gateway de base a ser usada

Retornos

A configuração do silo adicionada

Aplica-se a