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)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
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)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
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>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
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>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
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>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
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>

返回

适用于