StandardHedgingHandlerBuilderExtensions.Configure Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
Configure(IStandardHedgingHandlerBuilder, IConfigurationSection) |
Nakonfiguruje HttpStandardHedgingResilienceOptions pro standardní kanál hedgingu. |
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>) |
Nakonfiguruje HttpStandardResilienceOptions pro standardní kanál hedgingu. |
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>) |
Nakonfiguruje HttpStandardResilienceOptions pro standardní kanál hedgingu. |
Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)
Nakonfiguruje HttpStandardHedgingResilienceOptions pro standardní kanál hedgingu.
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
Parametry
- builder
- IStandardHedgingHandlerBuilder
Tvůrce kanálu.
- section
- IConfigurationSection
Oddíl, na který budou možnosti vázány.
Návraty
Hodnota .builder
Platí pro
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)
Nakonfiguruje HttpStandardResilienceOptions pro standardní kanál hedgingu.
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
Parametry
- builder
- IStandardHedgingHandlerBuilder
Tvůrce kanálu.
Metoda konfigurace.
Návraty
Hodnota .builder
Platí pro
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)
Nakonfiguruje HttpStandardResilienceOptions pro standardní kanál hedgingu.
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
Parametry
- builder
- IStandardHedgingHandlerBuilder
Tvůrce kanálu.
- configure
- Action<HttpStandardHedgingResilienceOptions>
Metoda konfigurace.
Návraty
Hodnota .builder