ClientBuilderExtensions.UseLocalhostClustering 方法

定义

重载

UseLocalhostClustering(IClientBuilder, Int32, String, String)

将客户端配置为连接到本地主机上的接收器。

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

将客户端配置为连接到本地主机上的接收器。

UseLocalhostClustering(IClientBuilder, Int32, String, String)

将客户端配置为连接到本地主机上的接收器。

public static Orleans.Hosting.IClientBuilder UseLocalhostClustering (this Orleans.Hosting.IClientBuilder builder, int gatewayPort = 30000, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.IClientBuilder * int * string * string -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As IClientBuilder, Optional gatewayPort As Integer = 30000, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As IClientBuilder

参数

builder
IClientBuilder

客户端生成器。

gatewayPort
Int32

本地接收器的网关端口。

serviceId
String

服务 ID。

clusterId
String

群集 ID。

返回

IClientBuilder

适用于

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

将客户端配置为连接到本地主机上的接收器。

public static Orleans.Hosting.IClientBuilder UseLocalhostClustering (this Orleans.Hosting.IClientBuilder builder, int[] gatewayPorts, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.IClientBuilder * int[] * string * string -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As IClientBuilder, gatewayPorts As Integer(), Optional serviceId As String = "dev", Optional clusterId As String = "dev") As IClientBuilder

参数

builder
IClientBuilder

客户端生成器。

gatewayPorts
Int32[]

本地接收器网关端口。

serviceId
String

服务 ID。

clusterId
String

群集 ID。

返回

IClientBuilder

适用于