共用方式為


TestCluster.StartOrleansSilo 方法

定義

在目標叢集中啟動新的定址接收器

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

參數

cluster
TestCluster

要在其中部署定址接收器的 TestCluster

type
Silo.SiloType

要部署的定址接收器類型

clusterConfig
ClusterConfiguration

要使用的叢集組態

nodeConfig
NodeConfiguration

要部署的定址接收器設定

傳回

已部署之定址接收器的控制碼

適用於