ConsulUtilsHostingExtensions.UseConsulClientClustering Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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>>)
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>)
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.