ConsulUtilsHostingExtensions.UseConsulSiloClustering Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>) |
Configures the silo to use Consul for clustering. |
UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>) |
Configures the silo to use Consul for clustering. |
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)
Configures the silo to use Consul for clustering.
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
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ConsulClusteringOptions>>
The configuration delegate.
Returns
The provided ISiloBuilder.
Applies to
UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)
Configures the silo to use Consul for clustering.
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
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<ConsulClusteringOptions>
The configuration delegate.
Returns
The provided ISiloBuilder.