InProcessTestCluster.StartSilosAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| StartSilosAsync(Int32) |
Start a number of additional silo, so that they join the existing cluster. |
| StartSilosAsync(Int32, Boolean) |
Obsolete.
Start a number of additional silo, so that they join the existing cluster. |
StartSilosAsync(Int32)
Start a number of additional silo, so that they join the existing cluster.
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>> StartSilosAsync(int silosToStart);
member this.StartSilosAsync : int -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>>
Public Function StartSilosAsync (silosToStart As Integer) As Task(Of List(Of InProcessSiloHandle))
Parameters
- silosToStart
- Int32
Number of silos to start.
Returns
List of SiloHandles for the newly started silos.
Applies to
StartSilosAsync(Int32, Boolean)
Caution
Use overload which does not have a 'startAdditionalSiloOnNewPort' parameter.
Start a number of additional silo, so that they join the existing cluster.
[System.Obsolete("Use overload which does not have a 'startAdditionalSiloOnNewPort' parameter.")]
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>> StartSilosAsync(int silosToStart, bool startAdditionalSiloOnNewPort);
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>> StartSilosAsync(int silosToStart, bool startAdditionalSiloOnNewPort = false);
[<System.Obsolete("Use overload which does not have a 'startAdditionalSiloOnNewPort' parameter.")>]
member this.StartSilosAsync : int * bool -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>>
member this.StartSilosAsync : int * bool -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.TestingHost.InProcessSiloHandle>>
Public Function StartSilosAsync (silosToStart As Integer, startAdditionalSiloOnNewPort As Boolean) As Task(Of List(Of InProcessSiloHandle))
Public Function StartSilosAsync (silosToStart As Integer, Optional startAdditionalSiloOnNewPort As Boolean = false) As Task(Of List(Of InProcessSiloHandle))
Parameters
- silosToStart
- Int32
Number of silos to start.
- startAdditionalSiloOnNewPort
- Boolean
Returns
List of SiloHandles for the newly started silos.
- Attributes