Freigeben über


StandardHedgingHandlerBuilderExtensions.Configure Methode

Definition

Überlädt

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Konfiguriert die HttpStandardHedgingResilienceOptions für die Standardsicherungspipeline.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Konfiguriert die HttpStandardResilienceOptions für die Standardsicherungspipeline.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Konfiguriert die HttpStandardResilienceOptions für die Standardsicherungspipeline.

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Quelle:
StandardHedgingHandlerBuilderExtensions.cs

Konfiguriert die HttpStandardHedgingResilienceOptions für die Standardsicherungspipeline.

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

Parameter

builder
IStandardHedgingHandlerBuilder

Der Pipeline-Generator.

section
IConfigurationSection

Der Abschnitt, an den die Optionen gebunden werden.

Gibt zurück

Der Wert von builder.

Gilt für:

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Quelle:
StandardHedgingHandlerBuilderExtensions.cs

Konfiguriert die HttpStandardResilienceOptions für die Standardsicherungspipeline.

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

Parameter

builder
IStandardHedgingHandlerBuilder

Der Pipeline-Generator.

Gibt zurück

Der Wert von builder.

Gilt für:

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Quelle:
StandardHedgingHandlerBuilderExtensions.cs

Konfiguriert die HttpStandardResilienceOptions für die Standardsicherungspipeline.

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

Parameter

builder
IStandardHedgingHandlerBuilder

Der Pipeline-Generator.

configure
Action<HttpStandardHedgingResilienceOptions>

Die configure-Methode.

Gibt zurück

Der Wert von builder.

Gilt für: