Redigera

Dela via


TestCluster.StartOrleansSilo Method

Definition

Start a new silo in the target cluster

public static Orleans.TestingHost.SiloHandle StartOrleansSilo (Orleans.TestingHost.TestCluster cluster, Orleans.Runtime.Silo.SiloType type, Orleans.Runtime.Configuration.ClusterConfiguration clusterConfig, Orleans.Runtime.Configuration.NodeConfiguration nodeConfig);
static member StartOrleansSilo : Orleans.TestingHost.TestCluster * Orleans.Runtime.Silo.SiloType * Orleans.Runtime.Configuration.ClusterConfiguration * Orleans.Runtime.Configuration.NodeConfiguration -> Orleans.TestingHost.SiloHandle
Public Shared Function StartOrleansSilo (cluster As TestCluster, type As Silo.SiloType, clusterConfig As ClusterConfiguration, nodeConfig As NodeConfiguration) As SiloHandle

Parameters

cluster
TestCluster

The TestCluster in which the silo should be deployed

type
Silo.SiloType

The type of the silo to deploy

clusterConfig
ClusterConfiguration

The cluster config to use

nodeConfig
NodeConfiguration

The configuration for the silo to deploy

Returns

A handle to the silo deployed

Applies to