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