KestrelServerOptions.ListenLocalhost Metodo

Definizione

Overload

ListenLocalhost(Int32)

È in ascolto su ::1 e 127.0.0.1 con la porta specificata. La richiesta di una porta dinamica specificando 0 non è supportata per questo tipo di endpoint.

ListenLocalhost(Int32, Action<ListenOptions>)

È in ascolto su ::1 e 127.0.0.1 con la porta specificata. La richiesta di una porta dinamica specificando 0 non è supportata per questo tipo di endpoint.

ListenLocalhost(Int32)

È in ascolto su ::1 e 127.0.0.1 con la porta specificata. La richiesta di una porta dinamica specificando 0 non è supportata per questo tipo di endpoint.

public:
 void ListenLocalhost(int port);
public void ListenLocalhost (int port);
member this.ListenLocalhost : int -> unit
Public Sub ListenLocalhost (port As Integer)

Parametri

port
Int32

Si applica a

ListenLocalhost(Int32, Action<ListenOptions>)

È in ascolto su ::1 e 127.0.0.1 con la porta specificata. La richiesta di una porta dinamica specificando 0 non è supportata per questo tipo di endpoint.

public:
 void ListenLocalhost(int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void ListenLocalhost (int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.ListenLocalhost : int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub ListenLocalhost (port As Integer, configure As Action(Of ListenOptions))

Parametri

port
Int32
configure
Action<ListenOptions>

Si applica a