共用方式為


OptionsOverrides.AddProviderClusterOptions 方法

定義

多載

AddProviderClusterOptions(IClientBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

根據提供者新增覆寫 ClusterOptions 。 注意:這適用于移轉目的,做為處理提供者使用 ServiceId 和 ClusterId 之先前不一致行為的方法。

AddProviderClusterOptions(IClientBuilder, String, Action<ClusterOptions>)

根據提供者新增覆寫 ClusterOptions 。 注意:這適用于移轉目的,做為處理提供者使用 ServiceId 和 ClusterId 之先前不一致行為的方法。

AddProviderClusterOptions(IClientBuilder, String, Action<OptionsBuilder<ClusterOptions>>)

來源:
OptionsOverrides.cs

根據提供者新增覆寫 ClusterOptions 。 注意:這適用于移轉目的,做為處理提供者使用 ServiceId 和 ClusterId 之先前不一致行為的方法。

public static Orleans.IClientBuilder AddProviderClusterOptions (this Orleans.IClientBuilder builder, string providerName, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> configureOptions);
static member AddProviderClusterOptions : Orleans.IClientBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ClusterOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As IClientBuilder, providerName As String, configureOptions As Action(Of OptionsBuilder(Of ClusterOptions))) As IClientBuilder

參數

builder
IClientBuilder
providerName
String
configureOptions
Action<OptionsBuilder<ClusterOptions>>

傳回

適用於

AddProviderClusterOptions(IClientBuilder, String, Action<ClusterOptions>)

來源:
OptionsOverrides.cs

根據提供者新增覆寫 ClusterOptions 。 注意:這適用于移轉目的,做為處理提供者使用 ServiceId 和 ClusterId 之先前不一致行為的方法。

public static Orleans.IClientBuilder AddProviderClusterOptions (this Orleans.IClientBuilder builder, string providerName, Action<Orleans.Configuration.ClusterOptions> configureOptions);
static member AddProviderClusterOptions : Orleans.IClientBuilder * string * Action<Orleans.Configuration.ClusterOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function AddProviderClusterOptions (builder As IClientBuilder, providerName As String, configureOptions As Action(Of ClusterOptions)) As IClientBuilder

參數

builder
IClientBuilder
providerName
String
configureOptions
Action<ClusterOptions>

傳回

適用於