TcpEndpointProbesExtensions.AddTcpEndpointProbe Methode

Definition

Überlädt

AddTcpEndpointProbe(IServiceCollection)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection, String)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

AddTcpEndpointProbe(IServiceCollection)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

configurationSection
IConfigurationSection

Konfiguration für TcpEndpointProbesOptions.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> configure);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

AddTcpEndpointProbe(IServiceCollection, String)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

name
String

Name, der zum Abrufen der Optionen verwendet wird.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

name
String

Name für die Optionen.

configurationSection
IConfigurationSection

Konfiguration für TcpEndpointProbesOptions.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Quelle:
TcpEndpointProbesExtensions.cs

Registriert Integritäts-status Berichterstellung mithilfe eines TCP-Ports, wenn der Dienst als fehlerfrei IHealthCheckgilt.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTcpEndpointProbe(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Diagnostics.Probes.TcpEndpointProbesOptions> configure);

Parameter

services
IServiceCollection

Die IServiceCollection, der Dienste hinzugefügt werden sollen.

name
String

Name für die Optionen.

Gibt zurück

Der Wert von services.

Gilt für:

.NET 10 (package-provided) und andere Versionen
Produkt Versionen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)