Bagikan melalui


KestrelConfigurationLoader.LocalhostEndpoint Metode

Definisi

Overload

LocalhostEndpoint(Int32)

Mendengarkan di ::1 dan 127.0.0.1 dengan port yang diberikan. Meminta port dinamis dengan menentukan 0 tidak didukung untuk jenis titik akhir ini.

LocalhostEndpoint(Int32, Action<ListenOptions>)

Mendengarkan di ::1 dan 127.0.0.1 dengan port yang diberikan. Meminta port dinamis dengan menentukan 0 tidak didukung untuk jenis titik akhir ini.

LocalhostEndpoint(Int32)

Sumber:
KestrelConfigurationLoader.cs
Sumber:
KestrelConfigurationLoader.cs
Sumber:
KestrelConfigurationLoader.cs

Mendengarkan di ::1 dan 127.0.0.1 dengan port yang diberikan. Meminta port dinamis dengan menentukan 0 tidak didukung untuk jenis titik akhir ini.

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port);
member this.LocalhostEndpoint : int -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer) As KestrelConfigurationLoader

Parameter

port
Int32

Mengembalikan

Berlaku untuk

LocalhostEndpoint(Int32, Action<ListenOptions>)

Sumber:
KestrelConfigurationLoader.cs
Sumber:
KestrelConfigurationLoader.cs
Sumber:
KestrelConfigurationLoader.cs

Mendengarkan di ::1 dan 127.0.0.1 dengan port yang diberikan. Meminta port dinamis dengan menentukan 0 tidak didukung untuk jenis titik akhir ini.

public:
 Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ LocalhostEndpoint(int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader LocalhostEndpoint (int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.LocalhostEndpoint : int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function LocalhostEndpoint (port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader

Parameter

port
Int32
configure
Action<ListenOptions>

Mengembalikan

Berlaku untuk