ConsulUtilsHostingExtensions.UseConsulSiloClustering 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
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>) |
Configura o silo para usar o Consul para clustering. |
UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>) |
Configura o silo para usar o Consul para clustering. |
UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)
Configura o silo para usar o Consul para clustering.
public static Orleans.Hosting.ISiloBuilder UseConsulSiloClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> configureOptions);
static member UseConsulSiloClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulSiloClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringOptions))) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
O construtor.
- configureOptions
- Action<OptionsBuilder<ConsulClusteringOptions>>
O delegado de configuração.
Retornos
A ISiloBuilder fornecida.
Aplica-se a
UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)
Configura o silo para usar o Consul para clustering.
public static Orleans.Hosting.ISiloBuilder UseConsulSiloClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.ConsulClusteringOptions> configureOptions);
static member UseConsulSiloClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.ConsulClusteringOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulSiloClustering (builder As ISiloBuilder, configureOptions As Action(Of ConsulClusteringOptions)) As ISiloBuilder
Parâmetros
- builder
- ISiloBuilder
O construtor.
- configureOptions
- Action<ConsulClusteringOptions>
O delegado de configuração.
Retornos
A ISiloBuilder fornecida.