ClientBuilderExtensions.UseStaticClustering 方法

定义

重载

UseStaticClustering(IClientBuilder, IPEndPoint[])

将客户端配置为使用静态群集。

UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)

将客户端配置为使用静态群集。

UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)

将客户端配置为使用静态群集。

UseStaticClustering(IClientBuilder, IPEndPoint[])

将客户端配置为使用静态群集。

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

参数

builder
IClientBuilder

客户端生成器。

endpoints
IPEndPoint[]

网关终结点。

返回

IClientBuilder

适用于

UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)

将客户端配置为使用静态群集。

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

参数

builder
IClientBuilder

客户端生成器。

configureOptions
Action<OptionsBuilder<StaticGatewayListProviderOptions>>

配置选项。

返回

IClientBuilder

适用于

UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)

将客户端配置为使用静态群集。

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

参数

builder
IClientBuilder

客户端生成器。

configureOptions
Action<StaticGatewayListProviderOptions>

配置选项。

返回

IClientBuilder

适用于