ConsulUtilsHostingExtensions.UseConsulClustering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseConsulClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulClustering(ISiloBuilder, Action<ConsulClusteringSiloOptions>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulClustering(ISiloHostBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulClustering(ISiloHostBuilder, Action<ConsulClusteringSiloOptions>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringClientOptions>>) |
將用戶端設定為使用 Consul 進行叢集。 |
UseConsulClustering(IClientBuilder, Action<ConsulClusteringClientOptions>) |
將用戶端設定為使用 Consul 進行叢集。 |
UseConsulClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)
將定址接收器設定為使用 Consul 進行叢集。
public static Orleans.Hosting.ISiloBuilder UseConsulClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringSiloOptions>> configureOptions);
static member UseConsulClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringSiloOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringSiloOptions))) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<ConsulClusteringSiloOptions>>
組態委派。
傳回
提供的 ISiloBuilder。
適用於
UseConsulClustering(ISiloBuilder, Action<ConsulClusteringSiloOptions>)
將定址接收器設定為使用 Consul 進行叢集。
public static Orleans.Hosting.ISiloBuilder UseConsulClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.ConsulClusteringSiloOptions> configureOptions);
static member UseConsulClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.ConsulClusteringSiloOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulClustering (builder As ISiloBuilder, configureOptions As Action(Of ConsulClusteringSiloOptions)) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
- configureOptions
- Action<ConsulClusteringSiloOptions>
組態委派。
傳回
提供的 ISiloBuilder。
適用於
UseConsulClustering(ISiloHostBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)
將定址接收器設定為使用 Consul 進行叢集。
public static Orleans.Hosting.ISiloHostBuilder UseConsulClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringSiloOptions>> configureOptions);
static member UseConsulClustering : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringSiloOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseConsulClustering (builder As ISiloHostBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringSiloOptions))) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<ConsulClusteringSiloOptions>>
組態委派。
傳回
提供的 ISiloHostBuilder。
適用於
UseConsulClustering(ISiloHostBuilder, Action<ConsulClusteringSiloOptions>)
將定址接收器設定為使用 Consul 進行叢集。
public static Orleans.Hosting.ISiloHostBuilder UseConsulClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.ConsulClusteringSiloOptions> configureOptions);
static member UseConsulClustering : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.ConsulClusteringSiloOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseConsulClustering (builder As ISiloHostBuilder, configureOptions As Action(Of ConsulClusteringSiloOptions)) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
產生器。
- configureOptions
- Action<ConsulClusteringSiloOptions>
組態委派。
傳回
提供的 ISiloHostBuilder。
適用於
UseConsulClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringClientOptions>>)
將用戶端設定為使用 Consul 進行叢集。
public static Orleans.IClientBuilder UseConsulClustering (this Orleans.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringClientOptions>> configureOptions);
static member UseConsulClustering : Orleans.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringClientOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function UseConsulClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringClientOptions))) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<OptionsBuilder<ConsulClusteringClientOptions>>
組態委派。
傳回
提供的 IClientBuilder。
適用於
UseConsulClustering(IClientBuilder, Action<ConsulClusteringClientOptions>)
將用戶端設定為使用 Consul 進行叢集。
public static Orleans.IClientBuilder UseConsulClustering (this Orleans.IClientBuilder builder, Action<Orleans.Configuration.ConsulClusteringClientOptions> configureOptions);
static member UseConsulClustering : Orleans.IClientBuilder * Action<Orleans.Configuration.ConsulClusteringClientOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseConsulClustering (builder As IClientBuilder, configureOptions As Action(Of ConsulClusteringClientOptions)) As IClientBuilder
參數
- builder
- IClientBuilder
產生器。
- configureOptions
- Action<ConsulClusteringClientOptions>
組態委派。
傳回
提供的 IClientBuilder。