KestrelConfigurationLoader.LocalhostEndpoint Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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)
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>)
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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk