TestClusterOptions.AddNodeConfiguration 方法

定义

将接收器配置添加到目标群集配置。

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

参数

config
ClusterConfiguration

目标群集配置

siloType
Silo.SiloType

要添加的接收器的类型

instanceNumber
Int16

接收器的实例编号

baseSiloPort
Int32

要使用的基接收器端口

baseGatewayPort
Int32

要使用的基本网关接收器端口

返回

添加了接收器配置

适用于