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>>)
以個別提供者為基礎新增覆寫 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>)
以個別提供者為基礎新增覆寫 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>>)
以個別提供者為基礎新增覆寫 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>)
以個別提供者為基礎新增覆寫 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>