KestrelServerOptions.Listen Metodo

Definizione

Overload

Listen(IPEndPoint, Action<ListenOptions>)

Eseguire l'associazione all'indirizzo IP e alla porta specificati. Il callback configura le impostazioni specifiche dell'endpoint.

Listen(IPAddress, Int32, Action<ListenOptions>)

Eseguire l'associazione all'indirizzo IP e alla porta specificati. Il callback configura le impostazioni specifiche dell'endpoint.

Listen(IPAddress, Int32)

Eseguire l'associazione all'indirizzo IP e alla porta specificati.

Listen(EndPoint)

Eseguire l'associazione all'endpoint specificato.

Listen(IPEndPoint)

Eseguire l'associazione all'endpoint IP specificato.

Listen(EndPoint, Action<ListenOptions>)

Eseguire l'associazione all'endpoint specificato. Il callback configura le impostazioni specifiche dell'endpoint.

Listen(IPEndPoint, Action<ListenOptions>)

Origine:
KestrelServerOptions.cs
Origine:
KestrelServerOptions.cs

Eseguire l'associazione all'indirizzo IP e alla porta specificati. Il callback configura le impostazioni specifiche dell'endpoint.

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

Parametri

endPoint
IPEndPoint
configure
Action<ListenOptions>

Si applica a

Listen(IPAddress, Int32, Action<ListenOptions>)

Origine:
KestrelServerOptions.cs
Origine:
KestrelServerOptions.cs

Eseguire l'associazione all'indirizzo IP e alla porta specificati. Il callback configura le impostazioni specifiche dell'endpoint.

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

Parametri

address
IPAddress
port
Int32
configure
Action<ListenOptions>

Si applica a

Listen(IPAddress, Int32)

Origine:
KestrelServerOptions.cs
Origine:
KestrelServerOptions.cs

Eseguire l'associazione all'indirizzo IP e alla porta specificati.

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)

Parametri

address
IPAddress
port
Int32

Si applica a

Listen(EndPoint)

Eseguire l'associazione all'endpoint specificato.

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)

Parametri

endPoint
EndPoint

Si applica a

Listen(IPEndPoint)

Origine:
KestrelServerOptions.cs
Origine:
KestrelServerOptions.cs

Eseguire l'associazione all'endpoint IP specificato.

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)

Parametri

endPoint
IPEndPoint

Si applica a

Listen(EndPoint, Action<ListenOptions>)

Eseguire l'associazione all'endpoint specificato. Il callback configura le impostazioni specifiche dell'endpoint.

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

Parametri

endPoint
EndPoint
configure
Action<ListenOptions>

Si applica a