KestrelConfigurationLoader.Endpoint 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
Endpoint(IPEndPoint) |
Ikat ke titik akhir IP yang diberikan. |
Endpoint(IPAddress, Int32) |
Ikat ke alamat IP dan port yang diberikan. |
Endpoint(IPEndPoint, Action<ListenOptions>) |
Ikat ke alamat IP dan port yang diberikan. |
Endpoint(String, Action<EndpointConfiguration>) |
Menentukan Tindakan konfigurasi yang akan dijalankan saat titik akhir dengan nama yang diberikan dimuat dari konfigurasi. |
Endpoint(IPAddress, Int32, Action<ListenOptions>) |
Ikat ke alamat IP dan port yang diberikan. |
Endpoint(IPEndPoint)
Ikat ke titik akhir IP yang diberikan.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPEndPoint ^ endPoint);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint);
member this.Endpoint : System.Net.IPEndPoint -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (endPoint As IPEndPoint) As KestrelConfigurationLoader
Parameter
- endPoint
- IPEndPoint
Mengembalikan
Berlaku untuk
Endpoint(IPAddress, Int32)
Ikat ke alamat IP dan port yang diberikan.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPAddress ^ address, int port);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port);
member this.Endpoint : System.Net.IPAddress * int -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (address As IPAddress, port As Integer) As KestrelConfigurationLoader
Parameter
- address
- IPAddress
- port
- Int32
Mengembalikan
Berlaku untuk
Endpoint(IPEndPoint, Action<ListenOptions>)
Ikat ke alamat IP dan port yang diberikan.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPEndPoint ^ endPoint, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Endpoint : System.Net.IPEndPoint * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (endPoint As IPEndPoint, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
Parameter
- endPoint
- IPEndPoint
- configure
- Action<ListenOptions>
Mengembalikan
Berlaku untuk
Endpoint(String, Action<EndpointConfiguration>)
Menentukan Tindakan konfigurasi yang akan dijalankan saat titik akhir dengan nama yang diberikan dimuat dari konfigurasi.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::String ^ name, Action<Microsoft::AspNetCore::Server::Kestrel::EndpointConfiguration ^> ^ configureOptions);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (string name, Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration> configureOptions);
member this.Endpoint : string * Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (name As String, configureOptions As Action(Of EndpointConfiguration)) As KestrelConfigurationLoader
Parameter
- name
- String
- configureOptions
- Action<EndpointConfiguration>
Mengembalikan
Berlaku untuk
Endpoint(IPAddress, Int32, Action<ListenOptions>)
Ikat ke alamat IP dan port yang diberikan.
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ Endpoint(System::Net::IPAddress ^ address, int port, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.Endpoint : System.Net.IPAddress * int * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function Endpoint (address As IPAddress, port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
Parameter
- address
- IPAddress
- port
- Int32
- configure
- Action<ListenOptions>