SiloOptionsOverrides.AddProviderClusterOptions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddProviderClusterOptions(ISiloBuilder, String, Action<OptionsBuilder<ClusterOptions>>) |
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。 |
AddProviderClusterOptions(ISiloBuilder, String, Action<ClusterOptions>) |
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。 |
AddProviderClusterOptions(ISiloHostBuilder, String, Action<OptionsBuilder<ClusterOptions>>) |
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。 |
AddProviderClusterOptions(ISiloHostBuilder, String, Action<ClusterOptions>) |
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。 |
AddProviderClusterOptions(ISiloBuilder, String, Action<OptionsBuilder<ClusterOptions>>)
- Source:
- SiloOptionsOverrides.cs
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。
public static Orleans.Hosting.ISiloBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloBuilder builder, string providerName, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloBuilder, providerName As String, configureOptions As Action(Of OptionsBuilder(Of ClusterOptions))) As ISiloBuilder
参数
- builder
- ISiloBuilder
- providerName
- String
- configureOptions
- Action<OptionsBuilder<ClusterOptions>>
返回
适用于
AddProviderClusterOptions(ISiloBuilder, String, Action<ClusterOptions>)
- Source:
- SiloOptionsOverrides.cs
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。
public static Orleans.Hosting.ISiloBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloBuilder builder, string providerName, Action<Orleans.Configuration.ClusterOptions> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.ClusterOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloBuilder, providerName As String, configureOptions As Action(Of ClusterOptions)) As ISiloBuilder
参数
- builder
- ISiloBuilder
- providerName
- String
- configureOptions
- Action<ClusterOptions>
返回
适用于
AddProviderClusterOptions(ISiloHostBuilder, String, Action<OptionsBuilder<ClusterOptions>>)
- Source:
- SiloOptionsOverrides.cs
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。
public static Orleans.Hosting.ISiloHostBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloHostBuilder builder, string providerName, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloHostBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloHostBuilder, providerName As String, configureOptions As Action(Of OptionsBuilder(Of ClusterOptions))) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- providerName
- String
- configureOptions
- Action<OptionsBuilder<ClusterOptions>>
返回
适用于
AddProviderClusterOptions(ISiloHostBuilder, String, Action<ClusterOptions>)
- Source:
- SiloOptionsOverrides.cs
按提供程序添加替代 ClusterOptions 。 注意:这是出于迁移目的,用于处理提供程序使用 ServiceId 和 ClusterId 时以前不一致的行为。
public static Orleans.Hosting.ISiloHostBuilder AddProviderClusterOptions (this Orleans.Hosting.ISiloHostBuilder builder, string providerName, Action<Orleans.Configuration.ClusterOptions> configureOptions);
static member AddProviderClusterOptions : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Configuration.ClusterOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As ISiloHostBuilder, providerName As String, configureOptions As Action(Of ClusterOptions)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- providerName
- String
- configureOptions
- Action<ClusterOptions>