Skip to content

InProcessTestCluster.StartSiloAsync(InProcessTestCluster, int, InProcessTestClusterOptions, IReadOnlyList<IConfigurationSource>, bool)

StartSiloAsync(InProcessTestCluster, int, InProcessTestClusterOptions, IReadOnlyList<IConfigurationSource>, bool)

static
View source
[System.Obsolete(Use the overload which does not have a 'startSiloOnNewPort' parameter.)]
public static Task<InProcessSiloHandle> StartSiloAsync(InProcessTestCluster cluster, int instanceNumber, InProcessTestClusterOptions clusterOptions, IReadOnlyList<IConfigurationSource> configurationOverrides, bool startSiloOnNewPort)
Start a new silo in the target cluster

Parameters

clusterInProcessTestCluster
The InProcessTestCluster in which the silo should be deployed
instanceNumberint
The instance number to deploy
clusterOptionsInProcessTestClusterOptions
The options to use.
configurationOverridesIReadOnlyList<IConfigurationSource>
Configuration overrides.
startSiloOnNewPortbool
Whether we start this silo on a new port, instead of the default one

Returns

A handle to the silo deployed