StandardHedgingHandlerBuilderExtensions.Configure 方法

定义

重载

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

HttpStandardHedgingResilienceOptions为标准对冲管道配置 。

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

HttpStandardResilienceOptions为标准对冲管道配置 。

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

HttpStandardResilienceOptions为标准对冲管道配置 。

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Source:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardHedgingResilienceOptions为标准对冲管道配置 。

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

参数

builder
IStandardHedgingHandlerBuilder

管道生成器。

section
IConfigurationSection

选项将绑定到的节。

返回

builder 的值。

适用于

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Source:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardResilienceOptions为标准对冲管道配置 。

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

参数

builder
IStandardHedgingHandlerBuilder

管道生成器。

返回

builder 的值。

适用于

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Source:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardResilienceOptions为标准对冲管道配置 。

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

参数

builder
IStandardHedgingHandlerBuilder

管道生成器。

configure
Action<HttpStandardHedgingResilienceOptions>

configure 方法。

返回

builder 的值。

适用于