Partager via


StandardHedgingHandlerBuilderExtensions.Configure Méthode

Définition

Surcharges

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Configure le HttpStandardHedgingResilienceOptions pour le pipeline de couverture standard.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Configure le HttpStandardResilienceOptions pour le pipeline de couverture standard.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Configure le HttpStandardResilienceOptions pour le pipeline de couverture standard.

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Source:
StandardHedgingHandlerBuilderExtensions.cs

Configure le HttpStandardHedgingResilienceOptions pour le pipeline de couverture standard.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder Configure (this Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member Configure : Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder
<Extension()>
Public Function Configure (builder As IStandardHedgingHandlerBuilder, section As IConfigurationSection) As IStandardHedgingHandlerBuilder

Paramètres

builder
IStandardHedgingHandlerBuilder

Générateur de pipeline.

section
IConfigurationSection

Section à laquelle les options seront liées.

Retours

la valeur de la propriété builder ;

S’applique à

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Source:
StandardHedgingHandlerBuilderExtensions.cs

Configure le HttpStandardResilienceOptions pour le pipeline de couverture standard.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::HttpStandardHedgingResilienceOptions ^, IServiceProvider ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder Configure (this Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder builder, Action<Microsoft.Extensions.Http.Resilience.HttpStandardHedgingResilienceOptions,IServiceProvider> configure);
static member Configure : Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder * Action<Microsoft.Extensions.Http.Resilience.HttpStandardHedgingResilienceOptions, IServiceProvider> -> Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder
<Extension()>
Public Function Configure (builder As IStandardHedgingHandlerBuilder, configure As Action(Of HttpStandardHedgingResilienceOptions, IServiceProvider)) As IStandardHedgingHandlerBuilder

Paramètres

builder
IStandardHedgingHandlerBuilder

Générateur de pipeline.

Retours

la valeur de la propriété builder ;

S’applique à

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Source:
StandardHedgingHandlerBuilderExtensions.cs

Configure le HttpStandardResilienceOptions pour le pipeline de couverture standard.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IStandardHedgingHandlerBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::HttpStandardHedgingResilienceOptions ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder Configure (this Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder builder, Action<Microsoft.Extensions.Http.Resilience.HttpStandardHedgingResilienceOptions> configure);
static member Configure : Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder * Action<Microsoft.Extensions.Http.Resilience.HttpStandardHedgingResilienceOptions> -> Microsoft.Extensions.Http.Resilience.IStandardHedgingHandlerBuilder
<Extension()>
Public Function Configure (builder As IStandardHedgingHandlerBuilder, configure As Action(Of HttpStandardHedgingResilienceOptions)) As IStandardHedgingHandlerBuilder

Paramètres

builder
IStandardHedgingHandlerBuilder

Générateur de pipeline.

configure
Action<HttpStandardHedgingResilienceOptions>

Méthode configure.

Retours

la valeur de la propriété builder ;

S’applique à