Compartilhar via


StandardHedgingHandlerBuilderExtensions.Configure Método

Definição

Sobrecargas

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Configura o HttpStandardHedgingResilienceOptions para o pipeline de cobertura padrão.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Configura o HttpStandardResilienceOptions para o pipeline de cobertura padrão.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Configura o HttpStandardResilienceOptions para o pipeline de cobertura padrão.

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Origem:
StandardHedgingHandlerBuilderExtensions.cs

Configura o HttpStandardHedgingResilienceOptions para o pipeline de cobertura padrão.

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

Parâmetros

builder
IStandardHedgingHandlerBuilder

O construtor de pipelines.

section
IConfigurationSection

A seção na qual as opções serão associadas.

Retornos

O valor de builder.

Aplica-se a

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Origem:
StandardHedgingHandlerBuilderExtensions.cs

Configura o HttpStandardResilienceOptions para o pipeline de cobertura padrão.

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

Parâmetros

builder
IStandardHedgingHandlerBuilder

O construtor de pipelines.

Retornos

O valor de builder.

Aplica-se a

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Origem:
StandardHedgingHandlerBuilderExtensions.cs

Configura o HttpStandardResilienceOptions para o pipeline de cobertura padrão.

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

Parâmetros

builder
IStandardHedgingHandlerBuilder

O construtor de pipelines.

configure
Action<HttpStandardHedgingResilienceOptions>

O método configure.

Retornos

O valor de builder.

Aplica-se a