Dela via


TcpEndpointProbesExtensions.AddTcpEndpointProbe Method

Definition

Overloads

AddTcpEndpointProbe(IServiceCollection)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Registers health status reporting using a TCP port if service is considered as healthy IHealthCheck.

AddTcpEndpointProbe(IServiceCollection)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

Returns

The value of services.

Applies to

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

configurationSection
IConfigurationSection

Configuration for TcpEndpointProbesOptions.

Returns

The value of services.

Applies to

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

Returns

The value of services.

Applies to

AddTcpEndpointProbe(IServiceCollection, String)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

name
String

Name used to retrieve the options.

Returns

The value of services.

Applies to

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

name
String

Name for the options.

configurationSection
IConfigurationSection

Configuration for TcpEndpointProbesOptions.

Returns

The value of services.

Applies to

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

Source:
TcpEndpointProbesExtensions.cs

Registers health status reporting using a TCP port if service is considered as healthy 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

Parameters

services
IServiceCollection

The IServiceCollection to add the services to.

name
String

Name for the options.

Returns

The value of services.

Applies to