共用方式為


ConsulUtilsHostingExtensions.UseConsulClientClustering 方法

定義

多載

UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

設定用戶端以使用 Consul 進行叢集。

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

設定用戶端以使用 Consul 進行叢集。

UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs

設定用戶端以使用 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>)

來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs
來源:
ConsulUtilsHostingExtensions.cs

設定用戶端以使用 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

適用於