TestClusterExtensions.GetTestClusterOptions 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetTestClusterOptions(IConfiguration) |
取得測試叢集選項。 |
GetTestClusterOptions(IHostBuilder) |
取得測試叢集選項。 |
GetTestClusterOptions(ISiloBuilder) | |
GetTestClusterOptions(ISiloHostBuilder) |
GetTestClusterOptions(IConfiguration)
取得測試叢集選項。
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Configuration.IConfiguration config);
static member GetTestClusterOptions : Microsoft.Extensions.Configuration.IConfiguration -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (config As IConfiguration) As TestClusterOptions
參數
- config
- IConfiguration
組態。
傳回
測試叢集選項。
適用於
GetTestClusterOptions(IHostBuilder)
取得測試叢集選項。
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
static member GetTestClusterOptions : Microsoft.Extensions.Hosting.IHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As IHostBuilder) As TestClusterOptions
參數
- hostBuilder
- IHostBuilder
主機產生器。
傳回
測試叢集選項。
適用於
GetTestClusterOptions(ISiloBuilder)
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloBuilder) As TestClusterOptions
參數
- hostBuilder
- ISiloBuilder
傳回
適用於
GetTestClusterOptions(ISiloHostBuilder)
public static Orleans.TestingHost.TestClusterOptions GetTestClusterOptions (this Orleans.Hosting.ISiloHostBuilder hostBuilder);
static member GetTestClusterOptions : Orleans.Hosting.ISiloHostBuilder -> Orleans.TestingHost.TestClusterOptions
<Extension()>
Public Function GetTestClusterOptions (hostBuilder As ISiloHostBuilder) As TestClusterOptions
參數
- hostBuilder
- ISiloHostBuilder