KestrelServerOptions.Listen Método

Definición

Sobrecargas

Listen(IPEndPoint, Action<ListenOptions>)

Enlazar con la dirección IP y el puerto especificados. La devolución de llamada configura las opciones específicas del punto de conexión.

Listen(IPAddress, Int32, Action<ListenOptions>)

Enlazar con la dirección IP y el puerto especificados. La devolución de llamada configura las opciones específicas del punto de conexión.

Listen(IPAddress, Int32)

Enlazar con la dirección IP y el puerto especificados.

Listen(EndPoint)

Enlazar al punto de conexión especificado.

Listen(IPEndPoint)

Enlace al punto de conexión IP especificado.

Listen(EndPoint, Action<ListenOptions>)

Enlazar al punto de conexión especificado. La devolución de llamada configura las opciones específicas del punto de conexión.

Listen(IPEndPoint, Action<ListenOptions>)

Enlazar con la dirección IP y el puerto especificados. La devolución de llamada configura las opciones específicas del punto de conexión.

public:
 void Listen(System::Net::IPEndPoint ^ endPoint, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void Listen (System.Net.IPEndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Listen : System.Net.IPEndPoint * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub Listen (endPoint As IPEndPoint, configure As Action(Of ListenOptions))

Parámetros

endPoint
IPEndPoint
configure
Action<ListenOptions>

Se aplica a

Listen(IPAddress, Int32, Action<ListenOptions>)

Enlazar con la dirección IP y el puerto especificados. La devolución de llamada configura las opciones específicas del punto de conexión.

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

Parámetros

address
IPAddress
port
Int32
configure
Action<ListenOptions>

Se aplica a

Listen(IPAddress, Int32)

Enlazar con la dirección IP y el puerto especificados.

public:
 void Listen(System::Net::IPAddress ^ address, int port);
public void Listen (System.Net.IPAddress address, int port);
member this.Listen : System.Net.IPAddress * int -> unit
Public Sub Listen (address As IPAddress, port As Integer)

Parámetros

address
IPAddress
port
Int32

Se aplica a

Listen(EndPoint)

Enlazar al punto de conexión especificado.

public:
 void Listen(System::Net::EndPoint ^ endPoint);
public void Listen (System.Net.EndPoint endPoint);
member this.Listen : System.Net.EndPoint -> unit
Public Sub Listen (endPoint As EndPoint)

Parámetros

endPoint
EndPoint

Se aplica a

Listen(IPEndPoint)

Enlace al punto de conexión IP especificado.

public:
 void Listen(System::Net::IPEndPoint ^ endPoint);
public void Listen (System.Net.IPEndPoint endPoint);
member this.Listen : System.Net.IPEndPoint -> unit
Public Sub Listen (endPoint As IPEndPoint)

Parámetros

endPoint
IPEndPoint

Se aplica a

Listen(EndPoint, Action<ListenOptions>)

Enlazar al punto de conexión especificado. La devolución de llamada configura las opciones específicas del punto de conexión.

public:
 void Listen(System::Net::EndPoint ^ endPoint, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void Listen (System.Net.EndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Listen : System.Net.EndPoint * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub Listen (endPoint As EndPoint, configure As Action(Of ListenOptions))

Parámetros

endPoint
EndPoint
configure
Action<ListenOptions>

Se aplica a