Compartir a través de


CommonHealthChecksExtensions.AddTelemetryHealthCheckPublisher Método

Definición

Sobrecargas

AddTelemetryHealthCheckPublisher(IServiceCollection)

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

AddTelemetryHealthCheckPublisher(IServiceCollection)

Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs
Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el publicador.

Devoluciones

El valor de services.

Excepciones

services es null.

Se aplica a

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs
Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el publicador.

Devoluciones

El valor de services.

Excepciones

services o section es null.

Se aplica a

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs
Source:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra un publicador de comprobación de estado que emite telemetría que representa el estado de la aplicación.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddTelemetryHealthCheckPublisher(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Diagnostics::HealthChecks::TelemetryHealthCheckPublisherOptions ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddTelemetryHealthCheckPublisher (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Diagnostics.HealthChecks.TelemetryHealthCheckPublisherOptions> configure);
static member AddTelemetryHealthCheckPublisher : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Diagnostics.HealthChecks.TelemetryHealthCheckPublisherOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddTelemetryHealthCheckPublisher (services As IServiceCollection, configure As Action(Of TelemetryHealthCheckPublisherOptions)) As IServiceCollection

Parámetros

services
IServiceCollection

Contenedor de inserción de dependencias al que se va a agregar el publicador.

Devoluciones

El valor de services.

Excepciones

services o configure es null.

Se aplica a