KestrelConfigurationLoader.Endpoint Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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.KestrelConfigurationLoaderPublic Function Endpoint (endPoint As IPEndPoint) As KestrelConfigurationLoaderParameters
- endPoint
- IPEndPoint
Returns
Applies to
Endpoint(IPAddress, Int32)
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.KestrelConfigurationLoaderPublic Function Endpoint (address As IPAddress, port As Integer) As KestrelConfigurationLoaderParameters
- address
- IPAddress
- port
- Int32
Returns
Applies to
Endpoint(IPEndPoint, Action<ListenOptions>)
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.KestrelConfigurationLoaderPublic Function Endpoint (endPoint As IPEndPoint, configure As Action(Of ListenOptions)) As KestrelConfigurationLoaderParameters
- endPoint
- IPEndPoint
- configure
- Action<ListenOptions>
Returns
Applies to
Endpoint(String, Action<EndpointConfiguration>)
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.KestrelConfigurationLoaderPublic Function Endpoint (name As String, configureOptions As Action(Of EndpointConfiguration)) As KestrelConfigurationLoaderParameters
- name
- String
- configureOptions
- Action<EndpointConfiguration>
Returns
Applies to
Endpoint(IPAddress, Int32, Action<ListenOptions>)
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.KestrelConfigurationLoaderPublic Function Endpoint (address As IPAddress, port As Integer, configure As Action(Of ListenOptions)) As KestrelConfigurationLoaderParameters
- address
- IPAddress
- port
- Int32
- configure
- Action<ListenOptions>