Partager via


ConsulUtilsHostingExtensions.UseConsulClientClustering Méthode

Définition

Surcharges

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

Configure le client pour qu’il utilise Consul pour le clustering.

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

Configure le client pour qu’il utilise Consul pour le clustering.

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

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

Configure le client pour qu’il utilise Consul pour le 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

Paramètres

builder
IClientBuilder

Générateur.

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

Délégué de configuration.

Retours

Le IClientBuilder fourni.

S’applique à

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

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

Configure le client pour qu’il utilise Consul pour le 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

Paramètres

builder
IClientBuilder

Générateur.

configureOptions
Action<ConsulClusteringOptions>

Délégué de configuration.

Retours

Le IClientBuilder fourni.

S’applique à