Freigeben über


EndpointOptionsExtensions.ConfigureEndpoints Methode

Definition

Überlädt

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloBuilder

Der Host-Generator, der konfiguriert werden soll.

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

addressFamily
AddressFamily

Adressieren Sie familie, um zu hören. Standard-IPv4-Adressfamilie.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für:

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloBuilder

Der Host-Generator, der konfiguriert werden soll.

advertisedIP
IPAddress

Die IP-Adresse, die in Mitgliedschaftstabellen angezeigt werden soll

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für:

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloHostBuilder

Der Host-Generator, der konfiguriert werden soll.

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

addressFamily
AddressFamily

Adressieren Sie familie, um zu hören. Standard-IPv4-Adressfamilie.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für:

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloHostBuilder

Der Host-Generator, der konfiguriert werden soll.

advertisedIP
IPAddress

Die IP-Adresse, die in Mitgliedschaftstabellen angezeigt werden soll

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für:

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloBuilder

Der Host-Generator, der konfiguriert werden soll.

hostname
String

Der Hostname, auf dem der Silo ausgeführt wird.

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

addressFamily
AddressFamily

Adressieren Sie familie, um zu hören. Standard-IPv4-Adressfamilie.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für:

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

Quelle:
EndpointOptionsExtensions.cs

Konfigurieren Sie Endpunkte für den Silo.

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

Parameter

builder
ISiloHostBuilder

Der Host-Generator, der konfiguriert werden soll.

hostname
String

Der Hostname, auf dem der Silo ausgeführt wird.

siloPort
Int32

Der Port dieses Silos verwendet für die Silo-zu-Silo-Kommunikation.

gatewayPort
Int32

Der Port dieses Silos verwendet eine Client-zu-Silo-Kommunikation (Gateway). Geben Sie 0 an, um die Gatewayfunktionalität zu deaktivieren.

addressFamily
AddressFamily

Adressieren Sie familie, um zu hören. Standard-IPv4-Adressfamilie.

listenOnAnyHostAddress
Boolean

Legen Sie fest, dass sie auf alle IP-Adressen des Hosts statt nur auf die werbungsIP hören soll.

Gibt zurück

Gilt für: