StandardHedgingHandlerBuilderExtensions.Configure Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Configure(IStandardHedgingHandlerBuilder, IConfigurationSection) |
Configura l'oggetto HttpStandardHedgingResilienceOptions per la pipeline di hedging standard. |
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>) |
Configura l'oggetto HttpStandardResilienceOptions per la pipeline di hedging standard. |
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>) |
Configura l'oggetto HttpStandardResilienceOptions per la pipeline di hedging standard. |
Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)
Configura l'oggetto HttpStandardHedgingResilienceOptions per la pipeline di hedging 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
Parametri
- builder
- IStandardHedgingHandlerBuilder
Generatore di pipeline.
- section
- IConfigurationSection
Sezione a cui verranno associate le opzioni.
Restituisce
Valore di builder
.
Si applica a
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)
Configura l'oggetto HttpStandardResilienceOptions per la pipeline di hedging 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
Parametri
- builder
- IStandardHedgingHandlerBuilder
Generatore di pipeline.
Metodo configure.
Restituisce
Valore di builder
.
Si applica a
Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)
Configura l'oggetto HttpStandardResilienceOptions per la pipeline di hedging 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
Parametri
- builder
- IStandardHedgingHandlerBuilder
Generatore di pipeline.
- configure
- Action<HttpStandardHedgingResilienceOptions>
Metodo configure.
Restituisce
Valore di builder
.