Bagikan melalui


TcpEndpointProbesExtensions.AddTcpEndpointProbe Metode

Definisi

Overload

AddTcpEndpointProbe(IServiceCollection)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat IHealthCheck.

AddTcpEndpointProbe(IServiceCollection)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

Mengembalikan

Nilai dari services.

Berlaku untuk

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

configurationSection
IConfigurationSection

Konfigurasi untuk TcpEndpointProbesOptions.

Mengembalikan

Nilai dari services.

Berlaku untuk

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

Mengembalikan

Nilai dari services.

Berlaku untuk

AddTcpEndpointProbe(IServiceCollection, String)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

name
String

Nama yang digunakan untuk mengambil opsi.

Mengembalikan

Nilai dari services.

Berlaku untuk

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

name
String

Nama untuk opsi.

configurationSection
IConfigurationSection

Konfigurasi untuk TcpEndpointProbesOptions.

Mengembalikan

Nilai dari services.

Berlaku untuk

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Sumber:
TcpEndpointProbesExtensions.cs
Sumber:
TcpEndpointProbesExtensions.cs

Mendaftarkan pelaporan status kesehatan menggunakan port TCP jika layanan dianggap sehat 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

Parameter

services
IServiceCollection

untuk IServiceCollection menambahkan layanan.

name
String

Nama untuk opsi.

Mengembalikan

Nilai dari services.

Berlaku untuk