KestrelServerOptions.ListenLocalhost Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour