ClusterConfiguration.LocalhostPrimarySilo(Int32, Int32) 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.
Returns a prepopulated ClusterConfiguration object for a primary local silo (for testing)
public static Orleans.Runtime.Configuration.ClusterConfiguration LocalhostPrimarySilo (int siloPort = 22222, int gatewayPort = 40000);
static member LocalhostPrimarySilo : int * int -> Orleans.Runtime.Configuration.ClusterConfiguration
Public Shared Function LocalhostPrimarySilo (Optional siloPort As Integer = 22222, Optional gatewayPort As Integer = 40000) As ClusterConfiguration
Parameters
- siloPort
- Int32
TCP port for silo to silo communication
- gatewayPort
- Int32
Client gateway TCP port
Returns
ClusterConfiguration object that can be passed to Silo or SiloHost classes for initialization