CommonHealthChecksExtensions.AddApplicationLifecycleHealthCheck Método

Definición

Sobrecargas

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Registra un proveedor de comprobación de estado vinculado al ciclo de vida de la aplicación.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Registra un proveedor de comprobación de estado vinculado al ciclo de vida de la aplicación.

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, IEnumerable<String>)

Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

Registra un proveedor de comprobación de estado vinculado al ciclo de vida de la aplicación.

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

Generador al que se va a agregar el proveedor.

tags
IEnumerable<String>

Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.

Devoluciones

El valor de builder.

Excepciones

builder o tags es null.

Se aplica a

AddApplicationLifecycleHealthCheck(IHealthChecksBuilder, String[])

Source:
CommonHealthChecksExtensions.ApplicationLifecycle.cs

Registra un proveedor de comprobación de estado vinculado al ciclo de vida de la aplicación.

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

Generador al que se va a agregar el proveedor.

tags
String[]

Una lista de etiquetas que se pueden usar para filtrar las comprobaciones de estado.

Devoluciones

El valor de builder.

Se aplica a