ConsulUtilsHostingExtensions.UseConsulSiloClustering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>) |
將定址接收器設定為使用 Consul 進行叢集。 |
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)
將定址接收器設定為使用 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>)
將定址接收器設定為使用 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。