TestCluster.StartAdditionalSilosAsync(Int32, Boolean) 方法

定义

启动多个额外的孤岛,以便它们加入现有群集。

public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.SiloHandle>> StartAdditionalSilosAsync (int silosToStart, bool startAdditionalSiloOnNewPort = false);
member this.StartAdditionalSilosAsync : int * bool -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.SiloHandle>>
Public Function StartAdditionalSilosAsync (silosToStart As Integer, Optional startAdditionalSiloOnNewPort As Boolean = false) As Task(Of List(Of SiloHandle))

参数

silosToStart
Int32

要启动的孤岛数。

startAdditionalSiloOnNewPort
Boolean

返回

新启动的孤岛接收器的孤岛列表。

适用于