TcpEndpointProbesExtensions.AddTcpEndpointProbe Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddTcpEndpointProbe(IServiceCollection) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection, IConfigurationSection) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection, String) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>) |
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck. |
AddTcpEndpointProbe(IServiceCollection)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
Devoluciones
El valor de services
.
Se aplica a
AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ configurationSection);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection, configurationSection As IConfigurationSection) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
- configurationSection
- IConfigurationSection
Configuración de TcpEndpointProbesOptions.
Devoluciones
El valor de services
.
Se aplica a
AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::Probes::TcpEndpointProbesOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> configure);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection, configure As Action(Of TcpEndpointProbesOptions)) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
- configure
- Action<TcpEndpointProbesOptions>
Configuración de TcpEndpointProbesOptions.
Devoluciones
El valor de services
.
Se aplica a
AddTcpEndpointProbe(IServiceCollection, String)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, System::String ^ name);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection * string -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection, name As String) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
- name
- String
Nombre usado para recuperar las opciones.
Devoluciones
El valor de services
.
Se aplica a
AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, System::String ^ name, Microsoft::Extensions::Configuration::IConfigurationSection ^ configurationSection);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection, name As String, configurationSection As IConfigurationSection) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
- name
- String
Nombre de las opciones.
- configurationSection
- IConfigurationSection
Configuración de TcpEndpointProbesOptions.
Devoluciones
El valor de services
.
Se aplica a
AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)
Registra los informes de estado de mantenimiento mediante un puerto TCP si el servicio se considera correcto IHealthCheck.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTcpEndpointProbe(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, System::String ^ name, Action<Microsoft::Extensions::Diagnostics::Probes::TcpEndpointProbesOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> configure);
static member AddTcpEndpointProbe : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTcpEndpointProbe (services As IServiceCollection, name As String, configure As Action(Of TcpEndpointProbesOptions)) As IServiceCollection
Parámetros
- services
- IServiceCollection
La interfaz IServiceCollection a la que se van a agregar los servicios.
- name
- String
Nombre de las opciones.
- configure
- Action<TcpEndpointProbesOptions>
Configuración de TcpEndpointProbesOptions.
Devoluciones
El valor de services
.