KestrelConfigurationLoader.LocalhostEndpoint Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
LocalhostEndpoint(Int32) |
Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje. |
LocalhostEndpoint(Int32, Action<ListenOptions>) |
Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje. |
LocalhostEndpoint(Int32)
Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port);
member this.LocalhostEndpoint : int -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer) As KestrelConfigurationLoader
Parametry
- port
- Int32
Návraty
Platí pro
LocalhostEndpoint(Int32, Action<ListenOptions>)
Naslouchá na ::1 a 127.0.0.1 s daným portem. Vyžádání dynamického portu zadáním hodnoty 0 se pro tento typ koncového bodu nepodporuje.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.LocalhostEndpoint : int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
Parametry
- port
- Int32
- configure
- Action<ListenOptions>