共用方式為


HttpStandardResiliencePipelineBuilderExtensions.Configure 方法

定義

多載

Configure(IHttpStandardResiliencePipelineBuilder, IConfigurationSection)

設定 HttpStandardResilienceOptions 標準復原管線的 。

Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions,IServiceProvider>)

設定 HttpStandardResilienceOptions 標準復原管線的 。

Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions>)

設定 HttpStandardResilienceOptions 標準復原管線的 。

Configure(IHttpStandardResiliencePipelineBuilder, IConfigurationSection)

來源:
HttpStandardResiliencePipelineBuilderExtensions.cs

設定 HttpStandardResilienceOptions 標準復原管線的 。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder Configure (this Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member Configure : Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder
<Extension()>
Public Function Configure (builder As IHttpStandardResiliencePipelineBuilder, section As IConfigurationSection) As IHttpStandardResiliencePipelineBuilder

參數

builder
IHttpStandardResiliencePipelineBuilder

管線產生器。

section
IConfigurationSection

選項將系結的 區段。

傳回

builder 的值。

適用於

Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions,IServiceProvider>)

來源:
HttpStandardResiliencePipelineBuilderExtensions.cs

設定 HttpStandardResilienceOptions 標準復原管線的 。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::HttpStandardResilienceOptions ^, IServiceProvider ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder Configure (this Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder builder, Action<Microsoft.Extensions.Http.Resilience.HttpStandardResilienceOptions,IServiceProvider> configure);
static member Configure : Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder * Action<Microsoft.Extensions.Http.Resilience.HttpStandardResilienceOptions, IServiceProvider> -> Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder
<Extension()>
Public Function Configure (builder As IHttpStandardResiliencePipelineBuilder, configure As Action(Of HttpStandardResilienceOptions, IServiceProvider)) As IHttpStandardResiliencePipelineBuilder

參數

builder
IHttpStandardResiliencePipelineBuilder

管線產生器。

configure
Action<HttpStandardResilienceOptions,IServiceProvider>

configure 方法。

傳回

builder 的值。

適用於

Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions>)

來源:
HttpStandardResiliencePipelineBuilderExtensions.cs

設定 HttpStandardResilienceOptions 標準復原管線的 。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ Configure(Microsoft::Extensions::Http::Resilience::IHttpStandardResiliencePipelineBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::HttpStandardResilienceOptions ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder Configure (this Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder builder, Action<Microsoft.Extensions.Http.Resilience.HttpStandardResilienceOptions> configure);
static member Configure : Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder * Action<Microsoft.Extensions.Http.Resilience.HttpStandardResilienceOptions> -> Microsoft.Extensions.Http.Resilience.IHttpStandardResiliencePipelineBuilder
<Extension()>
Public Function Configure (builder As IHttpStandardResiliencePipelineBuilder, configure As Action(Of HttpStandardResilienceOptions)) As IHttpStandardResiliencePipelineBuilder

參數

builder
IHttpStandardResiliencePipelineBuilder

管線產生器。

configure
Action<HttpStandardResilienceOptions>

configure 方法。

傳回

builder 的值。

適用於