ConsulUtilsHostingExtensions.UseConsulClientClustering 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
UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>) |
Configures the client to use Consul for clustering. |
UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>) |
Configures the client to use Consul for clustering. |
UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)
Configures the client to use Consul for clustering.
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
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ConsulClusteringOptions>>
The configuration delegate.
Returns
The provided IClientBuilder.
Applies to
UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)
Configures the client to use Consul for clustering.
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
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<ConsulClusteringOptions>
The configuration delegate.
Returns
The provided IClientBuilder.