共用方式為


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

要使用的基底閘道接收器埠

傳回

新增的接收器組態

適用於