ConsulUtilsHostingExtensions.UseConsulClientClustering 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>) |
将客户端配置为使用 Consul 进行群集。 |
UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>) |
将客户端配置为使用 Consul 进行群集。 |
UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)
将客户端配置为使用 Consul 进行群集。
public static Orleans.Hosting.IClientBuilder UseConsulClientClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> configureOptions);
static member UseConsulClientClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseConsulClientClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringOptions))) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<ConsulClusteringOptions>>
配置委托。
返回
提供的 IClientBuilder。
适用于
UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)
将客户端配置为使用 Consul 进行群集。
public static Orleans.Hosting.IClientBuilder UseConsulClientClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.ConsulClusteringOptions> configureOptions);
static member UseConsulClientClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.ConsulClusteringOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseConsulClientClustering (builder As IClientBuilder, configureOptions As Action(Of ConsulClusteringOptions)) As IClientBuilder
参数
- builder
- IClientBuilder
生成器。
- configureOptions
- Action<ConsulClusteringOptions>
配置委托。
返回
提供的 IClientBuilder。