ClientBuilderExtensions.UseLocalhostClustering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseLocalhostClustering(IClientBuilder, Int32, String, String) |
設定用戶端以連線到 localhost 上的定址接收器。 |
UseLocalhostClustering(IClientBuilder, Int32[], String, String) |
設定用戶端以連線到 localhost 上的定址接收器。 |
UseLocalhostClustering(IClientBuilder, Int32, String, String)
設定用戶端以連線到 localhost 上的定址接收器。
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
服務識別碼。
- clusterId
- String
叢集識別碼。
傳回
適用於
UseLocalhostClustering(IClientBuilder, Int32[], String, String)
設定用戶端以連線到 localhost 上的定址接收器。
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
服務識別碼。
- clusterId
- String
叢集識別碼。