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。