Partilhar via


TcpEndpointProbesExtensions.AddTcpEndpointProbe Método

Definição

Sobrecargas

AddTcpEndpointProbe(IServiceCollection)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

AddTcpEndpointProbe(IServiceCollection)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

Retornos

O valor de services.

Aplica-se a

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

configurationSection
IConfigurationSection

Configuração para TcpEndpointProbesOptions.

Retornos

O valor de services.

Aplica-se a

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

configure
Action<TcpEndpointProbesOptions>

Configuração para TcpEndpointProbesOptions.

Retornos

O valor de services.

Aplica-se a

AddTcpEndpointProbe(IServiceCollection, String)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

name
String

Nome usado para recuperar as opções.

Retornos

O valor de services.

Aplica-se a

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

name
String

Nome das opções.

configurationSection
IConfigurationSection

Configuração para TcpEndpointProbesOptions.

Retornos

O valor de services.

Aplica-se a

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Origem:
TcpEndpointProbesExtensions.cs

Registra relatórios de status de integridade usando uma porta TCP se o serviço for considerado íntegroIHealthCheck.

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

O IServiceCollection ao qual adicionar os serviços.

name
String

Nome das opções.

configure
Action<TcpEndpointProbesOptions>

Configuração para TcpEndpointProbesOptions.

Retornos

O valor de services.

Aplica-se a