ClientBuilderExtensions.UseStaticClustering 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)
- Source:
- ClientBuilderExtensions.cs
将客户端配置为使用静态群集。
public static Orleans.IClientBuilder UseStaticClustering (this Orleans.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> configureOptions);
static member UseStaticClustering : Orleans.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StaticGatewayListProviderOptions>> -> Orleans.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>)
- Source:
- ClientBuilderExtensions.cs
将客户端配置为使用静态群集。
public static Orleans.IClientBuilder UseStaticClustering (this Orleans.IClientBuilder builder, Action<Orleans.Configuration.StaticGatewayListProviderOptions> configureOptions);
static member UseStaticClustering : Orleans.IClientBuilder * Action<Orleans.Configuration.StaticGatewayListProviderOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, configureOptions As Action(Of StaticGatewayListProviderOptions)) As IClientBuilder
参数
- builder
- IClientBuilder
- configureOptions
- Action<StaticGatewayListProviderOptions>
返回
适用于
UseStaticClustering(IClientBuilder, IPEndPoint[])
- Source:
- ClientBuilderExtensions.cs
将客户端配置为使用静态群集。
public static Orleans.IClientBuilder UseStaticClustering (this Orleans.IClientBuilder builder, params System.Net.IPEndPoint[] endpoints);
static member UseStaticClustering : Orleans.IClientBuilder * System.Net.IPEndPoint[] -> Orleans.IClientBuilder
<Extension()>
Public Function UseStaticClustering (builder As IClientBuilder, ParamArray endpoints As IPEndPoint()) As IClientBuilder
参数
- builder
- IClientBuilder
- endpoints
- IPEndPoint[]
网关终结点。