Partager via


RoutingStrategyBuilderExtensions.ConfigureWeightedGroups Méthode

Définition

Surcharges

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Configure le routage des groupes pondérés à l’aide de WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Configure le routage des groupes pondérés à l’aide de WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Configure le routage des groupes pondérés à l’aide de WeightedGroupsRoutingOptions.

ConfigureWeightedGroups(IRoutingStrategyBuilder, IConfigurationSection)

Source:
RoutingStrategyBuilderExtensions.cs

Configure le routage des groupes pondérés à l’aide de 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

Paramètres

builder
IRoutingStrategyBuilder

Générateur de routage.

section
IConfigurationSection

Section à laquelle le WeightedGroupsRoutingOptions liera.

Retours

la valeur de la propriété builder ;

S’applique à

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions,IServiceProvider>)

Source:
RoutingStrategyBuilderExtensions.cs

Configure le routage des groupes pondérés à l’aide de 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

Paramètres

builder
IRoutingStrategyBuilder

Générateur de routage.

Retours

la valeur de la propriété builder ;

S’applique à

ConfigureWeightedGroups(IRoutingStrategyBuilder, Action<WeightedGroupsRoutingOptions>)

Source:
RoutingStrategyBuilderExtensions.cs

Configure le routage des groupes pondérés à l’aide de 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

Paramètres

builder
IRoutingStrategyBuilder

Générateur de routage.

Retours

la valeur de la propriété builder ;

S’applique à