共用方式為


SiloOptionsOverrides.AddProviderClusterOptions 方法

定義

多載

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>>)

來源:
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>)

來源:
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>>)

來源:
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

參數

providerName
String
configureOptions
Action<OptionsBuilder<ClusterOptions>>

傳回

適用於

AddProviderClusterOptions(ISiloHostBuilder, String, Action<ClusterOptions>)

來源:
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

參數

providerName
String
configureOptions
Action<ClusterOptions>

傳回

適用於