HttpStandardResiliencePipelineBuilderExtensions.Configure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Configure(IHttpStandardResiliencePipelineBuilder, IConfigurationSection) |
Configures the HttpStandardResilienceOptions for the standard resilience pipeline. |
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions,IServiceProvider>) |
Configures the HttpStandardResilienceOptions for the standard resilience pipeline. |
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions>) |
Configures the HttpStandardResilienceOptions for the standard resilience pipeline. |
Configure(IHttpStandardResiliencePipelineBuilder, IConfigurationSection)
Configures the HttpStandardResilienceOptions for the standard resilience pipeline.
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
Parameters
The pipeline builder.
- section
- IConfigurationSection
The section that the options will bind against.
Returns
The value of builder
.
Applies to
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions,IServiceProvider>)
Configures the HttpStandardResilienceOptions for the standard resilience pipeline.
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
Parameters
The pipeline builder.
- configure
- Action<HttpStandardResilienceOptions,IServiceProvider>
The configure method.
Returns
The value of builder
.
Applies to
Configure(IHttpStandardResiliencePipelineBuilder, Action<HttpStandardResilienceOptions>)
Configures the HttpStandardResilienceOptions for the standard resilience pipeline.
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
Parameters
The pipeline builder.
- configure
- Action<HttpStandardResilienceOptions>
The configure method.
Returns
The value of builder
.