KestrelConfigurationLoader.LocalhostEndpoint メソッド

定義

オーバーロード

LocalhostEndpoint(Int32)

指定されたポートで ::1 と 127.0.0.1 をリッスンします。 0 を指定して動的ポートを要求することは、この種類のエンドポイントではサポートされていません。

LocalhostEndpoint(Int32, Action<ListenOptions>)

指定されたポートで ::1 と 127.0.0.1 をリッスンします。 0 を指定して動的ポートを要求することは、この種類のエンドポイントではサポートされていません。

LocalhostEndpoint(Int32)

指定されたポートで ::1 と 127.0.0.1 をリッスンします。 0 を指定して動的ポートを要求することは、この種類のエンドポイントではサポートされていません。

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

パラメーター

port
Int32

戻り値

適用対象

LocalhostEndpoint(Int32, Action<ListenOptions>)

指定されたポートで ::1 と 127.0.0.1 をリッスンします。 0 を指定して動的ポートを要求することは、この種類のエンドポイントではサポートされていません。

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

パラメーター

port
Int32
configure
Action<ListenOptions>

戻り値

適用対象