KestrelServerOptions.ListenLocalhost Méthode

Définition

Surcharges

ListenLocalhost(Int32)

Écoute ::1 et 127.0.0.1 avec le port donné. La demande d’un port dynamique en spécifiant 0 n’est pas prise en charge pour ce type de point de terminaison.

ListenLocalhost(Int32, Action<ListenOptions>)

Écoute ::1 et 127.0.0.1 avec le port donné. La demande d’un port dynamique en spécifiant 0 n’est pas prise en charge pour ce type de point de terminaison.

ListenLocalhost(Int32)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

Écoute ::1 et 127.0.0.1 avec le port donné. La demande d’un port dynamique en spécifiant 0 n’est pas prise en charge pour ce type de point de terminaison.

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

Paramètres

port
Int32

S’applique à

ListenLocalhost(Int32, Action<ListenOptions>)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

Écoute ::1 et 127.0.0.1 avec le port donné. La demande d’un port dynamique en spécifiant 0 n’est pas prise en charge pour ce type de point de terminaison.

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))

Paramètres

port
Int32
configure
Action<ListenOptions>

S’applique à