TcpEndpointProbesExtensions.AddTcpEndpointProbe Metoda

Definice

Přetížení

AddTcpEndpointProbe(IServiceCollection)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection, String)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

AddTcpEndpointProbe(IServiceCollection)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

Návraty

Hodnota .services

Platí pro

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

configurationSection
IConfigurationSection

Konfigurace pro TcpEndpointProbesOptions.

Návraty

Hodnota .services

Platí pro

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

Návraty

Hodnota .services

Platí pro

AddTcpEndpointProbe(IServiceCollection, String)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

name
String

Název použitý k načtení možností

Návraty

Hodnota .services

Platí pro

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

name
String

Název možností

configurationSection
IConfigurationSection

Konfigurace pro TcpEndpointProbesOptions.

Návraty

Hodnota .services

Platí pro

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Zdroj:
TcpEndpointProbesExtensions.cs
Zdroj:
TcpEndpointProbesExtensions.cs

Pokud je služba považována za v pořádku IHealthCheck, zaregistruje hlášení stavu pomocí portu TCP.

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

Parametry

services
IServiceCollection

Chcete-li IServiceCollection přidat služby do.

name
String

Název možností

Návraty

Hodnota .services

Platí pro