HealthCheckResult Estrutura
Definição
Representa o resultado de uma verificação de integridade.Represents the result of a health check.
public value class HealthCheckResult
public struct HealthCheckResult
type HealthCheckResult = struct
Public Structure HealthCheckResult
- Herança
Construtores
| HealthCheckResult(HealthStatus, String, Exception, IReadOnlyDictionary<String,Object>) |
Cria um novo HealthCheckResult com os valores especificados para |
Propriedades
| Data |
Obtém pares chave-valor adicionais que descrevem a integridade do componente.Gets additional key-value pairs describing the health of the component. |
| Description |
Obtém uma descrição legível do status do componente que foi verificado.Gets a human-readable description of the status of the component that was checked. |
| Exception |
Obtém um Exception que representa a exceção gerada ao verificar o status (se houver).Gets an Exception representing the exception that was thrown when checking for status (if any). |
| Status |
Obtém um valor que indica o status do componente verificado.Gets a value indicating the status of the component that was checked. |
Métodos
| Degraded(String, Exception, IReadOnlyDictionary<String,Object>) |
Cria um HealthCheckResult que representa um componente degradado.Creates a HealthCheckResult representing a degraded component. |
| Healthy(String, IReadOnlyDictionary<String,Object>) |
Cria um HealthCheckResult que representa um componente íntegro.Creates a HealthCheckResult representing a healthy component. |
| Unhealthy(String, Exception, IReadOnlyDictionary<String,Object>) |
Cria um HealthCheckResult que representa um componente não íntegro.Creates a HealthCheckResult representing an unhealthy component. |