共用方式為


KestrelConfigurationLoader.Endpoint 方法

定義

多載

Endpoint(IPEndPoint)

系結至指定的 IP 端點。

Endpoint(IPAddress, Int32)

系結至指定的 IP 位址和埠。

Endpoint(IPEndPoint, Action<ListenOptions>)

系結至指定的 IP 位址和埠。

Endpoint(String, Action<EndpointConfiguration>)

指定從組態載入具有指定名稱的端點時所要執行的組態動作。

Endpoint(IPAddress, Int32, Action<ListenOptions>)

系結至指定的 IP 位址和埠。

Endpoint(IPEndPoint)

來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs

系結至指定的 IP 端點。

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

參數

endPoint
IPEndPoint

傳回

適用於

Endpoint(IPAddress, Int32)

來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs

系結至指定的 IP 位址和埠。

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

參數

address
IPAddress
port
Int32

傳回

適用於

Endpoint(IPEndPoint, Action<ListenOptions>)

來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs

系結至指定的 IP 位址和埠。

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

參數

endPoint
IPEndPoint
configure
Action<ListenOptions>

傳回

適用於

Endpoint(String, Action<EndpointConfiguration>)

來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs

指定從組態載入具有指定名稱的端點時所要執行的組態動作。

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

參數

name
String
configureOptions
Action<EndpointConfiguration>

傳回

適用於

Endpoint(IPAddress, Int32, Action<ListenOptions>)

來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs
來源:
KestrelConfigurationLoader.cs

系結至指定的 IP 位址和埠。

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

參數

address
IPAddress
port
Int32
configure
Action<ListenOptions>

傳回

適用於