다음을 통해 공유


CommonHealthChecksExtensions.AddTelemetryHealthCheckPublisher 메서드

정의

오버로드

AddTelemetryHealthCheckPublisher(IServiceCollection)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

AddTelemetryHealthCheckPublisher(IServiceCollection)

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

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

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

매개 변수

services
IServiceCollection

게시자를 추가할 종속성 주입 컨테이너입니다.

반환

services의 값

예외

servicesnull입니다.

적용 대상

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

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

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

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

매개 변수

services
IServiceCollection

게시자를 추가할 종속성 주입 컨테이너입니다.

section
IConfigurationSection

에 대한 구성입니다 TelemetryHealthCheckPublisherOptions.

반환

services의 값

예외

services 또는 sectionnull인 경우

적용 대상

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

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

애플리케이션의 상태를 나타내는 원격 분석을 내보내는 상태 검사 게시자를 등록합니다.

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

매개 변수

services
IServiceCollection

게시자를 추가할 종속성 주입 컨테이너입니다.

반환

services의 값

예외

services 또는 configurenull인 경우

적용 대상