共用方式為


ClientBuilderExtensions.UseLocalhostClustering 方法

定義

多載

UseLocalhostClustering(IClientBuilder, Int32, String, String)

設定用戶端以連線到 localhost 上的定址接收器。

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

設定用戶端以連線到 localhost 上的定址接收器。

UseLocalhostClustering(IClientBuilder, Int32, String, String)

來源:
ClientBuilderExtensions.cs

設定用戶端以連線到 localhost 上的定址接收器。

public static Orleans.IClientBuilder UseLocalhostClustering (this Orleans.IClientBuilder builder, int gatewayPort = 30000, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.IClientBuilder * int * string * string -> Orleans.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

服務識別碼。

clusterId
String

叢集識別碼。

傳回

適用於

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

來源:
ClientBuilderExtensions.cs

設定用戶端以連線到 localhost 上的定址接收器。

public static Orleans.IClientBuilder UseLocalhostClustering (this Orleans.IClientBuilder builder, int[] gatewayPorts, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.IClientBuilder * int[] * string * string -> Orleans.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

服務識別碼。

clusterId
String

叢集識別碼。

傳回

適用於