Bagikan melalui


StandardHedgingHandlerBuilderExtensions.Configure Metode

Definisi

Overload

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

HttpStandardHedgingResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

HttpStandardResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

HttpStandardResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

Configure(IStandardHedgingHandlerBuilder, IConfigurationSection)

Sumber:
StandardHedgingHandlerBuilderExtensions.cs
Sumber:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardHedgingResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

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

Penyusun alur.

section
IConfigurationSection

Bagian yang akan diikat oleh opsi.

Mengembalikan

Nilai dari builder.

Berlaku untuk

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions,IServiceProvider>)

Sumber:
StandardHedgingHandlerBuilderExtensions.cs
Sumber:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

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

Penyusun alur.

Mengembalikan

Nilai dari builder.

Berlaku untuk

Configure(IStandardHedgingHandlerBuilder, Action<HttpStandardHedgingResilienceOptions>)

Sumber:
StandardHedgingHandlerBuilderExtensions.cs
Sumber:
StandardHedgingHandlerBuilderExtensions.cs

HttpStandardResilienceOptions Mengonfigurasi untuk alur lindung nilai standar.

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

Penyusun alur.

configure
Action<HttpStandardHedgingResilienceOptions>

Metode konfigurasi.

Mengembalikan

Nilai dari builder.

Berlaku untuk