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。