Partager via


TcpEndpointProbesExtensions.AddTcpEndpointProbe Méthode

Définition

Surcharges

AddTcpEndpointProbe(IServiceCollection)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

AddTcpEndpointProbe(IServiceCollection)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

Retours

la valeur de la propriété services ;

S’applique à

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

configurationSection
IConfigurationSection

Configuration pour TcpEndpointProbesOptions.

Retours

la valeur de la propriété services ;

S’applique à

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

Retours

la valeur de la propriété services ;

S’applique à

AddTcpEndpointProbe(IServiceCollection, String)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

name
String

Nom utilisé pour récupérer les options.

Retours

la valeur de la propriété services ;

S’applique à

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

name
String

Nom des options.

configurationSection
IConfigurationSection

Configuration pour TcpEndpointProbesOptions.

Retours

la valeur de la propriété services ;

S’applique à

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Source:
TcpEndpointProbesExtensions.cs
Source:
TcpEndpointProbesExtensions.cs

Inscrit les rapports d’intégrité status à l’aide d’un port TCP si le service est considéré comme sainIHealthCheck.

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

Paramètres

services
IServiceCollection

IServiceCollection auquel ajouter les services.

name
String

Nom des options.

Retours

la valeur de la propriété services ;

S’applique à