RoutingStrategyBuilderExtensions.ConfigureOrderedGroups 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ConfigureOrderedGroups(IRoutingStrategyBuilder, IConfigurationSection)
使用 OrderedGroupsRoutingOptions設定已排序的群組路由。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureOrderedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureOrderedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member ConfigureOrderedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureOrderedGroups (builder As IRoutingStrategyBuilder, section As IConfigurationSection) As IRoutingStrategyBuilder
參數
- builder
- IRoutingStrategyBuilder
路由產生器。
- section
- IConfigurationSection
將系結的 OrderedGroupsRoutingOptions 區段。
傳回
builder
的值。
適用於
ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions,IServiceProvider>)
使用 OrderedGroupsRoutingOptions設定已排序的群組路由。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureOrderedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::OrderedGroupsRoutingOptions ^, IServiceProvider ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureOrderedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.OrderedGroupsRoutingOptions,IServiceProvider> configure);
static member ConfigureOrderedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.OrderedGroupsRoutingOptions, IServiceProvider> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureOrderedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of OrderedGroupsRoutingOptions, IServiceProvider)) As IRoutingStrategyBuilder
參數
- builder
- IRoutingStrategyBuilder
路由產生器。
- configure
- Action<OrderedGroupsRoutingOptions,IServiceProvider>
設定的 OrderedGroupsRoutingOptions回呼。
傳回
builder
的值。
適用於
ConfigureOrderedGroups(IRoutingStrategyBuilder, Action<OrderedGroupsRoutingOptions>)
使用 OrderedGroupsRoutingOptions設定已排序的群組路由。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ ConfigureOrderedGroups(Microsoft::Extensions::Http::Resilience::IRoutingStrategyBuilder ^ builder, Action<Microsoft::Extensions::Http::Resilience::OrderedGroupsRoutingOptions ^> ^ configure);
public static Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder ConfigureOrderedGroups (this Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder builder, Action<Microsoft.Extensions.Http.Resilience.OrderedGroupsRoutingOptions> configure);
static member ConfigureOrderedGroups : Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder * Action<Microsoft.Extensions.Http.Resilience.OrderedGroupsRoutingOptions> -> Microsoft.Extensions.Http.Resilience.IRoutingStrategyBuilder
<Extension()>
Public Function ConfigureOrderedGroups (builder As IRoutingStrategyBuilder, configure As Action(Of OrderedGroupsRoutingOptions)) As IRoutingStrategyBuilder
參數
- builder
- IRoutingStrategyBuilder
路由產生器。
- configure
- Action<OrderedGroupsRoutingOptions>
設定的 OrderedGroupsRoutingOptions回呼。
傳回
builder
的值。