CommonHealthChecksExtensions.AddApplicationLifecycleHealthCheck Método

Definição

Sobrecargas

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Registra um provedor de marcar de integridade vinculado ao ciclo de vida do aplicativo.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Registra um provedor de marcar de integridade vinculado ao ciclo de vida do aplicativo.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Origem:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

Registra um provedor de marcar de integridade vinculado ao ciclo de vida do aplicativo.

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

Parâmetros

builder
IHealthChecksBuilder

O construtor ao qual adicionar o provedor.

tags
IEnumerable<String>

Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.

Retornos

O valor de builder.

Exceções

builder ou tags é null.

Aplica-se a

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Origem:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

Registra um provedor de marcar de integridade vinculado ao ciclo de vida do aplicativo.

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

Parâmetros

builder
IHealthChecksBuilder

O construtor ao qual adicionar o provedor.

tags
String[]

Uma lista de marcas que podem ser usadas para filtrar verificações de integridade.

Retornos

O valor de builder.

Aplica-se a