Share via


KestrelServerOptions.ListenLocalhost Yöntem

Tanım

Aşırı Yüklemeler

ListenLocalhost(Int32)

Verilen bağlantı noktasıyla ::1 ve 127.0.0.1'de dinler. Bu uç nokta türü için 0 belirterek dinamik bağlantı noktası istemek desteklenmez.

ListenLocalhost(Int32, Action<ListenOptions>)

Verilen bağlantı noktasıyla ::1 ve 127.0.0.1'de dinler. Bu uç nokta türü için 0 belirterek dinamik bağlantı noktası istemek desteklenmez.

ListenLocalhost(Int32)

Kaynak:
KestrelServerOptions.cs
Kaynak:
KestrelServerOptions.cs

Verilen bağlantı noktasıyla ::1 ve 127.0.0.1'de dinler. Bu uç nokta türü için 0 belirterek dinamik bağlantı noktası istemek desteklenmez.

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

Parametreler

port
Int32

Şunlara uygulanır

ListenLocalhost(Int32, Action<ListenOptions>)

Kaynak:
KestrelServerOptions.cs
Kaynak:
KestrelServerOptions.cs

Verilen bağlantı noktasıyla ::1 ve 127.0.0.1'de dinler. Bu uç nokta türü için 0 belirterek dinamik bağlantı noktası istemek desteklenmez.

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

Parametreler

port
Int32
configure
Action<ListenOptions>

Şunlara uygulanır