TestingSiloHost.AdjustForTest 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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