Share via


KestrelConfigurationLoader.Endpoint Method

Definition

Overloads

Endpoint(IPEndPoint)

Bind to given IP endpoint.

Endpoint(IPAddress, Int32)

Bind to given IP address and port.

Endpoint(IPEndPoint, Action<ListenOptions>)

Bind to given IP address and port.

Endpoint(String, Action<EndpointConfiguration>)

Specifies a configuration Action to run when an endpoint with the given name is loaded from configuration.

Endpoint(IPAddress, Int32, Action<ListenOptions>)

Bind to given IP address and port.

Endpoint(IPEndPoint)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Bind to given IP endpoint.

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

Parameters

endPoint
IPEndPoint

Returns

Applies to

Endpoint(IPAddress, Int32)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Bind to given IP address and port.

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

Parameters

address
IPAddress
port
Int32

Returns

Applies to

Endpoint(IPEndPoint, Action<ListenOptions>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Bind to given IP address and port.

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

Parameters

endPoint
IPEndPoint
configure
Action<ListenOptions>

Returns

Applies to

Endpoint(String, Action<EndpointConfiguration>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Specifies a configuration Action to run when an endpoint with the given name is loaded from configuration.

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

Parameters

name
String
configureOptions
Action<EndpointConfiguration>

Returns

Applies to

Endpoint(IPAddress, Int32, Action<ListenOptions>)

Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs
Source:
KestrelConfigurationLoader.cs

Bind to given IP address and port.

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

Parameters

address
IPAddress
port
Int32
configure
Action<ListenOptions>

Returns

Applies to