KestrelConfigurationLoader.Endpoint Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
Endpoint(IPEndPoint) |
Powiąż z danym punktem końcowym adresu IP. |
Endpoint(IPAddress, Int32) |
Powiąż z danym adresem IP i portem. |
Endpoint(IPEndPoint, Action<ListenOptions>) |
Powiąż z danym adresem IP i portem. |
Endpoint(String, Action<EndpointConfiguration>) |
Określa akcję konfiguracji do uruchomienia, gdy punkt końcowy o podanej nazwie jest ładowany z konfiguracji. |
Endpoint(IPAddress, Int32, Action<ListenOptions>) |
Powiąż z danym adresem IP i portem. |
Endpoint(IPEndPoint)
Powiąż z danym punktem końcowym adresu IP.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPEndPoint ^ endPoint);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint);
member this.Endpoint : System.Net.IPEndPoint -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (endPoint As IPEndPoint) As KestrelConfigurationLoader
Parametry
- endPoint
- IPEndPoint
Zwraca
Dotyczy
Endpoint(IPAddress, Int32)
Powiąż z danym adresem IP i portem.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPAddress ^ address, int port);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port);
member this.Endpoint : System.Net.IPAddress * int -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (address As IPAddress, port As Integer) As KestrelConfigurationLoader
Parametry
- address
- IPAddress
- port
- Int32
Zwraca
Dotyczy
Endpoint(IPEndPoint, Action<ListenOptions>)
Powiąż z danym adresem IP i portem.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPEndPoint ^ endPoint, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Endpoint : System.Net.IPEndPoint * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (endPoint As IPEndPoint, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
Parametry
- endPoint
- IPEndPoint
- configure
- Action<ListenOptions>
Zwraca
Dotyczy
Endpoint(String, Action<EndpointConfiguration>)
Określa akcję konfiguracji do uruchomienia, gdy punkt końcowy o podanej nazwie jest ładowany z konfiguracji.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::String ^ name, Action<Microsoft::AspNetCore::Server::Kestrel::EndpointConfiguration ^> ^ configureOptions);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (string name, Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration> configureOptions);
member this.Endpoint : string * Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (name As String, configureOptions As Action(Of EndpointConfiguration)) As KestrelConfigurationLoader
Parametry
- name
- String
- configureOptions
- Action<EndpointConfiguration>
Zwraca
Dotyczy
Endpoint(IPAddress, Int32, Action<ListenOptions>)
Powiąż z danym adresem IP i portem.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPAddress ^ address, int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Endpoint : System.Net.IPAddress * int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (address As IPAddress, port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
Parametry
- address
- IPAddress
- port
- Int32
- configure
- Action<ListenOptions>