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-адреса.

C#
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint);

Параметры

endPoint
IPEndPoint

Возвращаемое значение

Применяется к

ASP.NET Core 9.0 и другие версии
Продукт Версии
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Endpoint(IPAddress, Int32)

Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs

Привязка к заданному IP-адресу и порту.

C#
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port);

Параметры

address
IPAddress
port
Int32

Возвращаемое значение

Применяется к

ASP.NET Core 9.0 и другие версии
Продукт Версии
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Endpoint(IPEndPoint, Action<ListenOptions>)

Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs

Привязка к заданному IP-адресу и порту.

C#
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPEndPoint endPoint, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);

Параметры

endPoint
IPEndPoint
configure
Action<ListenOptions>

Возвращаемое значение

Применяется к

ASP.NET Core 9.0 и другие версии
Продукт Версии
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Endpoint(String, Action<EndpointConfiguration>)

Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs

Указывает действие конфигурации, выполняемое при загрузке конечной точки с заданным именем из конфигурации.

C#
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (string name, Action<Microsoft.AspNetCore.Server.Kestrel.EndpointConfiguration> configureOptions);

Параметры

name
String
configureOptions
Action<EndpointConfiguration>

Возвращаемое значение

Применяется к

ASP.NET Core 9.0 и другие версии
Продукт Версии
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Endpoint(IPAddress, Int32, Action<ListenOptions>)

Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs
Исходный код:
KestrelConfigurationLoader.cs

Привязка к заданному IP-адресу и порту.

C#
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader Endpoint (System.Net.IPAddress address, int port, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);

Параметры

address
IPAddress
port
Int32
configure
Action<ListenOptions>

Возвращаемое значение

Применяется к

ASP.NET Core 9.0 и другие версии
Продукт Версии
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0