RoutingStrategyBuilderExtensions.ConfigureWeightedGroups 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
ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection) |
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions. |
ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>) |
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions. |
ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>) |
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions. |
ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, section As IConfigurationSection) As IRoutingStrategyBuilder
Parâmetros
- builder
- IRoutingStrategyBuilder
O construtor de roteamento.
- section
- IConfigurationSection
A seção na qual o WeightedGroupsRoutingOptions será associado.
Retornos
O valor de builder
.
Aplica-se a
ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::WeightedGroupsRoutingOptions ^, IServiceProvider ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions,IServiceProvider> configure);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions, IServiceProvider> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of WeightedGroupsRoutingOptions, IServiceProvider)) As IRoutingStrategyBuilder
Parâmetros
- builder
- IRoutingStrategyBuilder
O construtor de roteamento.
- configure
- Action<WeightedGroupsRoutingOptions,IServiceProvider>
O retorno de chamada que configura WeightedGroupsRoutingOptions.
Retornos
O valor de builder
.
Aplica-se a
ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)
Configura o roteamento de grupos ponderados usando WeightedGroupsRoutingOptions.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureWeightedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::WeightedGroupsRoutingOptions ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureWeightedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions> configure);
static member ConfigureWeightedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.WeightedGroupsRoutingOptions> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureWeightedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of WeightedGroupsRoutingOptions)) As IRoutingStrategyBuilder
Parâmetros
- builder
- IRoutingStrategyBuilder
O construtor de roteamento.
- configure
- Action<WeightedGroupsRoutingOptions>
O retorno de chamada que configura WeightedGroupsRoutingOptions.
Retornos
O valor de builder
.