ClientBuilderExtensions.UseStaticClustering Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseStaticClustering(IClientBuilder, IPEndPoint[]) |
Configures the client to use static clustering. |
UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>) |
Configures the client to use static clustering. |
UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>) |
Configures the client to use static clustering. |
UseStaticClustering(IClientBuilder, IPEndPoint[])
Configures the client to use static clustering.
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, params System.Net.IPEndPoint[] endpoints);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * System.Net.IPEndPoint[] -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, ParamArray endpoints As IPEndPoint()) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
- endpoints
- IPEndPoint[]
The gateway endpoints.
Returns
The IClientBuilder.
Applies to
UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)
Configures the client to use static clustering.
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> configureOptions);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of StaticGatewayListProviderOptions))) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
- configureOptions
- Action<OptionsBuilder<StaticGatewayListProviderOptions>>
The configure Options.
Returns
The IClientBuilder.
Applies to
UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)
Configures the client to use static clustering.
public static Orleans.Hosting.IClientBuilder UseStaticClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.StaticGatewayListProviderOptions> configureOptions);
static member UseStaticClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.StaticGatewayListProviderOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, configureOptions As Action(Of StaticGatewayListProviderOptions)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The client builder.
- configureOptions
- Action<StaticGatewayListProviderOptions>
The configure Options.
Returns
The IClientBuilder.