다음을 통해 공유


CommonHealthChecksExtensions.AddApplicationLifecycleHealthCheck 메서드

정의

오버로드

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

애플리케이션의 수명 주기에 연결된 상태 검사 공급자를 등록합니다.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

애플리케이션의 수명 주기에 연결된 상태 검사 공급자를 등록합니다.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs
Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

애플리케이션의 수명 주기에 연결된 상태 검사 공급자를 등록합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddApplicationLifecycleHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, System::Collections::Generic::IEnumerable<System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddApplicationLifecycleHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, System.Collections.Generic.IEnumerable<string> tags);
static member AddApplicationLifecycleHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * seq<string> -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddApplicationLifecycleHealthCheck (builder As IHealthChecksBuilder, tags As IEnumerable(Of String)) As IHealthChecksBuilder

매개 변수

builder
IHealthChecksBuilder

공급자를 추가할 작성기입니다.

tags
IEnumerable<String>

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

반환

builder의 값

예외

builder 또는 tagsnull인 경우

적용 대상

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs
Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

애플리케이션의 수명 주기에 연결된 상태 검사 공급자를 등록합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ AddApplicationLifecycleHealthCheck(Microsoft::Extensions::DependencyInjection::IHealthChecksBuilder ^ builder, ... cli::array <System::String ^> ^ tags);
public static Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder AddApplicationLifecycleHealthCheck (this Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder builder, params string[] tags);
static member AddApplicationLifecycleHealthCheck : Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder * string[] -> Microsoft.Extensions.DependencyInjection.IHealthChecksBuilder
<Extension()>
Public Function AddApplicationLifecycleHealthCheck (builder As IHealthChecksBuilder, ParamArray tags As String()) As IHealthChecksBuilder

매개 변수

builder
IHealthChecksBuilder

공급자를 추가할 작성기입니다.

tags
String[]

상태 검사를 필터링하는 데 사용할 수 있는 태그 목록입니다.

반환

builder의 값

적용 대상