LegacyClusterConfigurationExtensions.ConfigureLocalHostPrimarySilo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ConfigureLocalHostPrimarySilo(ISiloBuilder, Int32, Int32) |
設定 localhost 定址接收器。 |
ConfigureLocalHostPrimarySilo(ISiloHostBuilder, Int32, Int32) |
設定 localhost 定址接收器。 |
ConfigureLocalHostPrimarySilo(ISiloBuilder, Int32, Int32)
設定 localhost 定址接收器。
public static Orleans.Hosting.ISiloBuilder ConfigureLocalHostPrimarySilo (this Orleans.Hosting.ISiloBuilder builder, int siloPort = 22222, int gatewayPort = 40000);
static member ConfigureLocalHostPrimarySilo : Orleans.Hosting.ISiloBuilder * int * int -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureLocalHostPrimarySilo (builder As ISiloBuilder, Optional siloPort As Integer = 22222, Optional gatewayPort As Integer = 40000) As ISiloBuilder
參數
- builder
- ISiloBuilder
主機產生器。
- siloPort
- Int32
定址接收器對接收器通訊埠。
- gatewayPort
- Int32
用戶端對接收器通訊埠。
傳回
定址接收器產生器。
適用於
ConfigureLocalHostPrimarySilo(ISiloHostBuilder, Int32, Int32)
設定 localhost 定址接收器。
public static Orleans.Hosting.ISiloHostBuilder ConfigureLocalHostPrimarySilo (this Orleans.Hosting.ISiloHostBuilder builder, int siloPort = 22222, int gatewayPort = 40000);
static member ConfigureLocalHostPrimarySilo : Orleans.Hosting.ISiloHostBuilder * int * int -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureLocalHostPrimarySilo (builder As ISiloHostBuilder, Optional siloPort As Integer = 22222, Optional gatewayPort As Integer = 40000) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
主機產生器。
- siloPort
- Int32
定址接收器對接收器通訊埠。
- gatewayPort
- Int32
用戶端對接收器通訊埠。
傳回
定址接收器產生器。