共用方式為


TestingSiloHost.AdjustForTest 方法

定義

多載

AdjustForTest(ClientConfiguration, TestingClientOptions)

將 ClientConfiguration 修改為測試環境

AdjustForTest(ClusterConfiguration, TestingSiloOptions)

將叢集組態修改為測試環境

AdjustForTest(ClientConfiguration, TestingClientOptions)

將 ClientConfiguration 修改為測試環境

public static void AdjustForTest (Orleans.Runtime.Configuration.ClientConfiguration config, Orleans.TestingHost.TestingClientOptions options);
static member AdjustForTest : Orleans.Runtime.Configuration.ClientConfiguration * Orleans.TestingHost.TestingClientOptions -> unit
Public Shared Sub AdjustForTest (config As ClientConfiguration, options As TestingClientOptions)

參數

config
ClientConfiguration

要修改的用戶端組態

options
TestingClientOptions

要修改的 TestingClientOptions

適用於

AdjustForTest(ClusterConfiguration, TestingSiloOptions)

將叢集組態修改為測試環境

public static void AdjustForTest (Orleans.Runtime.Configuration.ClusterConfiguration config, Orleans.TestingHost.TestingSiloOptions options);
static member AdjustForTest : Orleans.Runtime.Configuration.ClusterConfiguration * Orleans.TestingHost.TestingSiloOptions -> unit
Public Shared Sub AdjustForTest (config As ClusterConfiguration, options As TestingSiloOptions)

參數

config
ClusterConfiguration

要修改的叢集組態

options
TestingSiloOptions

要修改的 TestingSiloOptions

適用於