Edytuj

Udostępnij za pośrednictwem


ConsulUtilsHostingExtensions.UseConsulClientClustering Method

Definition

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>>)

Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs

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>)

Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs

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.

Applies to