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
Параметры
Построитель конвейера.
- 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
Параметры
Построитель конвейера.
- 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
Параметры
Построитель конвейера.
- configure
- Action<HttpStandardResilienceOptions>
Метод configure.
Возвращаемое значение
Значение builder
.