Edit

Share via


TestClusterOptions.AddNodeConfiguration Method

Definition

Adds a silo config to the target cluster config.

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

Parameters

config
ClusterConfiguration

The target cluster configuration

siloType
Silo.SiloType

The type of the silo to add

instanceNumber
Int16

The instance number of the silo

baseSiloPort
Int32

Base silo port to use

baseGatewayPort
Int32

Base gateway silo port to use

Returns

The silo configuration added

Applies to