Compartilhar via


ConsulUtilsHostingExtensions.UseConsulClientClustering Método

Definição

Sobrecargas

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

Configura o cliente para usar o Consul para clustering.

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

Configura o cliente para usar o Consul para clustering.

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

Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs

Configura o cliente para usar o Consul para 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

Parâmetros

builder
IClientBuilder

O construtor.

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

O delegado de configuração.

Retornos

A IClientBuilder fornecida.

Aplica-se a

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs
Origem:
ConsulUtilsHostingExtensions.cs

Configura o cliente para usar o Consul para 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

Parâmetros

builder
IClientBuilder

O construtor.

configureOptions
Action<ConsulClusteringOptions>

O delegado de configuração.

Retornos

A IClientBuilder fornecida.

Aplica-se a