Redigera

Dela via


OptionsOverrides.AddProviderClusterOptions Method

Definition

Overloads

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

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

AddProviderClusterOptions(IClientBuilder, String, Action<ClusterOptions>)

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.

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

Source:
OptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and 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

Parameters

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

Returns

Applies to

AddProviderClusterOptions(IClientBuilder, String, Action<ClusterOptions>)

Source:
OptionsOverrides.cs

Add an override ClusterOptions on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and 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

Parameters

builder
IClientBuilder
providerName
String
configureOptions
Action<ClusterOptions>

Returns

Applies to