KestrelServerOptions.Listen Metoda

Definicja

Przeciążenia

Listen(IPEndPoint, Action<ListenOptions>)

Powiąż z danym adresem IP i portem. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

Listen(IPAddress, Int32, Action<ListenOptions>)

Powiąż z danym adresem IP i portem. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

Listen(IPAddress, Int32)

Powiąż z danym adresem IP i portem.

Listen(EndPoint)

Powiąż z danym punktem końcowym.

Listen(IPEndPoint)

Powiąż z danym punktem końcowym adresu IP.

Listen(EndPoint, Action<ListenOptions>)

Powiąż z danym punktem końcowym. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

Listen(IPEndPoint, Action<ListenOptions>)

Powiąż z danym adresem IP i portem. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

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

Parametry

endPoint
IPEndPoint
configure
Action<ListenOptions>

Dotyczy

Listen(IPAddress, Int32, Action<ListenOptions>)

Powiąż z danym adresem IP i portem. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

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

Parametry

address
IPAddress
port
Int32
configure
Action<ListenOptions>

Dotyczy

Listen(IPAddress, Int32)

Powiąż z danym adresem IP i portem.

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)

Parametry

address
IPAddress
port
Int32

Dotyczy

Listen(EndPoint)

Powiąż z danym punktem końcowym.

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)

Parametry

endPoint
EndPoint

Dotyczy

Listen(IPEndPoint)

Powiąż z danym punktem końcowym adresu IP.

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)

Parametry

endPoint
IPEndPoint

Dotyczy

Listen(EndPoint, Action<ListenOptions>)

Powiąż z danym punktem końcowym. Wywołanie zwrotne konfiguruje ustawienia specyficzne dla punktu końcowego.

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

Parametry

endPoint
EndPoint
configure
Action<ListenOptions>

Dotyczy