HealthCheckResult Estructura

Definición

Representa el resultado de una comprobación de estado.Represents the result of a health check.

public value class HealthCheckResult
public struct HealthCheckResult
type HealthCheckResult = struct
Public Structure HealthCheckResult
Herencia
HealthCheckResult

Constructores

HealthCheckResult(HealthStatus, String, Exception, IReadOnlyDictionary<String,Object>)

Crea una instancia de HealthCheckResult con los valores especificados para status, exception, description y data.Creates a new HealthCheckResult with the specified values for status, exception, description, and data.

Propiedades

Data

Obtiene pares clave-valor adicionales que describen el estado del componente.Gets additional key-value pairs describing the health of the component.

Description

Obtiene una descripción inteligible del estado del componente que se ha comprobado.Gets a human-readable description of the status of the component that was checked.

Exception

Obtiene un objeto Exception que representa la excepción que se ha iniciado al comprobar el estado (si existe).Gets an Exception representing the exception that was thrown when checking for status (if any).

Status

Obtiene un valor que indica el estado del componente que se ha comprobado.Gets a value indicating the status of the component that was checked.

Métodos

Degraded(String, Exception, IReadOnlyDictionary<String,Object>)

Crea un objeto HealthCheckResult que representa un componente degradado.Creates a HealthCheckResult representing a degraded component.

Healthy(String, IReadOnlyDictionary<String,Object>)

Crea un objeto HealthCheckResult que representa un componente correcto.Creates a HealthCheckResult representing a healthy component.

Unhealthy(String, Exception, IReadOnlyDictionary<String,Object>)

Crea un objeto HealthCheckResult que representa un componente incorrecto.Creates a HealthCheckResult representing an unhealthy component.

Se aplica a