共用方式為


EndpointOptionsExtensions.ConfigureEndpoints 方法

定義

多載

ConfigureEndpoints(ISiloBuilder, Int32, Int32, AddressFamily, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloBuilder, IPAddress, Int32, Int32, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloHostBuilder, Int32, Int32, AddressFamily, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloHostBuilder, IPAddress, Int32, Int32, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloBuilder, String, Int32, Int32, AddressFamily, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloHostBuilder, String, Int32, Int32, AddressFamily, Boolean)

設定定址接收器的端點。

ConfigureEndpoints(ISiloBuilder, Int32, Int32, AddressFamily, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloBuilder builder, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

參數

builder
ISiloBuilder

要設定的主機產生器。

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

addressFamily
AddressFamily

要接聽的位址系列。 預設 IPv4 位址系列。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於

ConfigureEndpoints(ISiloBuilder, IPAddress, Int32, Int32, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloBuilder builder, System.Net.IPAddress advertisedIP, int siloPort, int gatewayPort, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * System.Net.IPAddress * int * int * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, advertisedIP As IPAddress, siloPort As Integer, gatewayPort As Integer, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

參數

builder
ISiloBuilder

要設定的主機產生器。

advertisedIP
IPAddress

要公告于成員資格資料表中的 IP 位址

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於

ConfigureEndpoints(ISiloHostBuilder, Int32, Int32, AddressFamily, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloHostBuilder builder, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

參數

builder
ISiloHostBuilder

要設定的主機產生器。

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

addressFamily
AddressFamily

要接聽的位址系列。 預設 IPv4 位址系列。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於

ConfigureEndpoints(ISiloHostBuilder, IPAddress, Int32, Int32, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloHostBuilder builder, System.Net.IPAddress advertisedIP, int siloPort, int gatewayPort, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * System.Net.IPAddress * int * int * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, advertisedIP As IPAddress, siloPort As Integer, gatewayPort As Integer, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

參數

builder
ISiloHostBuilder

要設定的主機產生器。

advertisedIP
IPAddress

要公告于成員資格資料表中的 IP 位址

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於

ConfigureEndpoints(ISiloBuilder, String, Int32, Int32, AddressFamily, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloBuilder builder, string hostname, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * string * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, hostname As String, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

參數

builder
ISiloBuilder

要設定的主機產生器。

hostname
String

定址接收器執行所在的主機名稱。

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

addressFamily
AddressFamily

要接聽的位址系列。 預設 IPv4 位址系列。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於

ConfigureEndpoints(ISiloHostBuilder, String, Int32, Int32, AddressFamily, Boolean)

來源:
EndpointOptionsExtensions.cs

設定定址接收器的端點。

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints (this Orleans.Hosting.ISiloHostBuilder builder, string hostname, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * string * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, hostname As String, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

參數

builder
ISiloHostBuilder

要設定的主機產生器。

hostname
String

定址接收器執行所在的主機名稱。

siloPort
Int32

此定址接收器用於定址接收器對定址通訊的埠。

gatewayPort
Int32

此定址接收器用於用戶端對定址接收器 (閘道) 通訊的埠。 指定 0 以停用閘道功能。

addressFamily
AddressFamily

要接聽的位址系列。 預設 IPv4 位址系列。

listenOnAnyHostAddress
Boolean

設定為 true 可接聽主機的所有 IP 位址,而不只是公告 IP。

傳回

適用於