共用方式為


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

傳回

新啟動定址接收器的 SiloHandles 清單。

適用於