共用方式為


TestCluster 建構函式

定義

多載

TestCluster()

設定預設的主要測試定址接收器,以及用戶端進程內。

TestCluster(ClusterConfiguration)

設定測試叢集加上預設用戶端進程。

TestCluster(TestClusterOptions)

設定測試叢集加上用戶端進程。

TestCluster(ClusterConfiguration, ClientConfiguration)

使用指定的定址接收器和用戶端設定組態,設定測試叢集加上用戶端進程。

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

設定測試叢集加上用戶端進程。

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

設定測試叢集加上用戶端進程。

TestCluster()

設定預設的主要測試定址接收器,以及用戶端進程內。

public TestCluster ();
Public Sub New ()

適用於

TestCluster(ClusterConfiguration)

設定測試叢集加上預設用戶端進程。

public TestCluster (Orleans.Runtime.Configuration.ClusterConfiguration clusterConfiguration);
new Orleans.TestingHost.TestCluster : Orleans.Runtime.Configuration.ClusterConfiguration -> Orleans.TestingHost.TestCluster
Public Sub New (clusterConfiguration As ClusterConfiguration)

參數

clusterConfiguration
ClusterConfiguration

適用於

TestCluster(TestClusterOptions)

設定測試叢集加上用戶端進程。

public TestCluster (Orleans.TestingHost.TestClusterOptions options);
new Orleans.TestingHost.TestCluster : Orleans.TestingHost.TestClusterOptions -> Orleans.TestingHost.TestCluster
Public Sub New (options As TestClusterOptions)

參數

適用於

TestCluster(ClusterConfiguration, ClientConfiguration)

使用指定的定址接收器和用戶端設定組態,設定測試叢集加上用戶端進程。

public TestCluster (Orleans.Runtime.Configuration.ClusterConfiguration clusterConfiguration, Orleans.Runtime.Configuration.ClientConfiguration clientConfiguration);
new Orleans.TestingHost.TestCluster : Orleans.Runtime.Configuration.ClusterConfiguration * Orleans.Runtime.Configuration.ClientConfiguration -> Orleans.TestingHost.TestCluster
Public Sub New (clusterConfiguration As ClusterConfiguration, clientConfiguration As ClientConfiguration)

參數

clusterConfiguration
ClusterConfiguration
clientConfiguration
ClientConfiguration

適用於

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>)

設定測試叢集加上用戶端進程。

public TestCluster (Orleans.TestingHost.TestClusterOptions options, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> configurationSources);
new Orleans.TestingHost.TestCluster : Orleans.TestingHost.TestClusterOptions * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> -> Orleans.TestingHost.TestCluster
Public Sub New (options As TestClusterOptions, configurationSources As IReadOnlyList(Of IConfigurationSource))

參數

configurationSources
IReadOnlyList<IConfigurationSource>

適用於

TestCluster(TestClusterOptions, IReadOnlyList<IConfigurationSource>, ITestClusterPortAllocator)

來源:
TestCluster.cs

設定測試叢集加上用戶端進程。

public TestCluster (Orleans.TestingHost.TestClusterOptions options, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> configurationSources, Orleans.TestingHost.ITestClusterPortAllocator portAllocator);
new Orleans.TestingHost.TestCluster : Orleans.TestingHost.TestClusterOptions * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.Configuration.IConfigurationSource> * Orleans.TestingHost.ITestClusterPortAllocator -> Orleans.TestingHost.TestCluster
Public Sub New (options As TestClusterOptions, configurationSources As IReadOnlyList(Of IConfigurationSource), portAllocator As ITestClusterPortAllocator)

參數

configurationSources
IReadOnlyList<IConfigurationSource>

適用於