共用方式為


ConsulUtilsHostingExtensions.UseConsulSiloClustering 方法

定義

多載

UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

將定址接收器設定為使用 Consul 進行叢集。

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

將定址接收器設定為使用 Consul 進行叢集。

UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

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

將定址接收器設定為使用 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>)

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

將定址接收器設定為使用 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

適用於