HttpStandardResiliencePipelineBuilderExtensions.Configure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Configure(IHttpStandardResiliencePipelineBuilder, IConfigurationSection)
設定 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
參數
管線產生器。
- section
- IConfigurationSection
選項將系結的 區段。
傳回
builder
的值。
適用於
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions,IServiceProvider>)
設定 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
參數
管線產生器。
- configure
- Action<HttpStandardResilienceOptions,IServiceProvider>
configure 方法。
傳回
builder
的值。
適用於
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions>)
設定 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
參數
管線產生器。
- configure
- Action<HttpStandardResilienceOptions>
configure 方法。
傳回
builder
的值。