KestrelConfigurationLoader.LocalhostEndpoint メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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>