ClientBuilderExtensions.UseStaticClustering 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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[]
网关终结点。
返回
适用于
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>>
配置选项。
返回
适用于
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>
配置选项。