CommonHealthChecksExtensions.AddTelemetryHealthCheckPublisher Método

Definição

Sobrecargas

AddTelemetryHealthCheckPublisher(IServiceCollection)

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

AddTelemetryHealthCheckPublisher(IServiceCollection)

Origem:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

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

O contêiner de injeção de dependência ao qual adicionar o editor.

Retornos

O valor de services.

Exceções

services é null.

Aplica-se a

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

Origem:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

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

O contêiner de injeção de dependência ao qual adicionar o editor.

Retornos

O valor de services.

Exceções

services ou section é null.

Aplica-se a

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

Origem:
CommonHealthChecksExtensions.TelemetryPublisher.cs

Registra um editor de marcar de integridade que emite telemetria que representa a integridade do aplicativo.

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

O contêiner de injeção de dependência ao qual adicionar o editor.

Retornos

O valor de services.

Exceções

services ou configure é null.

Aplica-se a